* [dts] [PATCH V1] tests/distributor: align change with DPDK
@ 2019-10-29 13:53 Wenjie Li
2019-10-29 5:46 ` Zhu, ShuaiX
2019-11-22 3:09 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: Wenjie Li @ 2019-10-29 13:53 UTC (permalink / raw)
To: dts; +Cc: Wenjie Li
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@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/distributor: align change with DPDK
2019-10-29 13:53 [dts] [PATCH V1] tests/distributor: align change with DPDK Wenjie Li
@ 2019-10-29 5:46 ` Zhu, ShuaiX
2019-11-22 3:09 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Zhu, ShuaiX @ 2019-10-29 5:46 UTC (permalink / raw)
To: Li, WenjieX A, dts; +Cc: Li, WenjieX A, Zhu, ShuaiX
[-- Attachment #1: Type: text/plain, Size: 1534 bytes --]
Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li
> Sent: Tuesday, October 29, 2019 9:54 PM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@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@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
[-- Attachment #2: TestDistributor.log --]
[-- Type: application/octet-stream, Size: 39217 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/distributor: align change with DPDK
2019-10-29 13:53 [dts] [PATCH V1] tests/distributor: align change with DPDK Wenjie Li
2019-10-29 5:46 ` Zhu, ShuaiX
@ 2019-11-22 3:09 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-11-22 3:09 UTC (permalink / raw)
To: Li, WenjieX A, dts; +Cc: Li, WenjieX A
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li
> Sent: Tuesday, October 29, 2019 9:54 PM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@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@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-22 3:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29 13:53 [dts] [PATCH V1] tests/distributor: align change with DPDK Wenjie Li
2019-10-29 5:46 ` Zhu, ShuaiX
2019-11-22 3:09 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).