[dts] [PATCH V1] tests/distributor: align change with DPDK

Tu, Lijuan lijuan.tu at intel.com
Fri Nov 22 04:09:43 CET 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Wenjie Li
> Sent: Tuesday, October 29, 2019 9:54 PM
> To: dts at dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li at intel.com>
> Subject: [dts] [PATCH V1] tests/distributor: align change with DPDK
> 
> In DPDK commit 	b28f28ae80e5c9aa, renamed from
> lib/librte_distributor/rte_distributor_private.h to
> lib/librte_distributor/distributor_private.h, update dts to align this change.
> 
> Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>
> ---
>  tests/TestSuite_distributor.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_distributor.py b/tests/TestSuite_distributor.py
> index 1128899..3494254 100644
> --- a/tests/TestSuite_distributor.py
> +++ b/tests/TestSuite_distributor.py
> @@ -163,7 +163,7 @@ class TestDistributor(TestCase):
>          self.verify(len(self.dut_ports) >= 1, "Not enough ports")
>          cmd_fmt = "%s -c %s -n %d -w %s -- -p 0x1"
> 
> -        out = self.dut.send_expect("sed -n '/#define
> RTE_DISTRIB_MAX_WORKERS/p'
> lib/librte_distributor/rte_distributor_private.h", "# ")
> +        out = self.dut.send_expect("sed -n '/#define
> + RTE_DISTRIB_MAX_WORKERS/p'
> + lib/librte_distributor/distributor_private.h", "# ")
>          reg_match = r"#define RTE_DISTRIB_MAX_WORKERS (.*)"
>          m = re.match(reg_match, out)
>          self.verify(m, "Can't find maximum worker number")
> --
> 2.17.1



More information about the dts mailing list