* [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:support meson build method
@ 2020-09-15 3:10 Xie wei
2020-09-15 3:09 ` Xie, WeiX
2020-09-15 8:56 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: Xie wei @ 2020-09-15 3:10 UTC (permalink / raw)
To: dts; +Cc: Xie wei
support meson build method
Signed-off-by: Xie wei <weix.xie@intel.com>
---
tests/TestSuite_kernelpf_iavf.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index f8fa94f0..66389a29 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -863,7 +863,7 @@ class TestKernelpfIavf(TestCase):
self.bind_nic_driver(self.dut_ports, driver="")
self.create_2vf_in_host()
# start l3fwd-power
- l3fwd_app = "./examples/l3fwd-power/build/l3fwd-power"
+ l3fwd_app = self.dut.apps_name['l3fwd-power']
cmd = l3fwd_app + " -l 6,7 -n 4 -- -p 0x3 --config " + \
"'(0,0,6),(1,0,7)'"
@@ -979,7 +979,7 @@ class TestKernelpfIavf(TestCase):
Run after each test case.
"""
if self.running_case == "test_vf_rx_interrupt":
- self.dut.send_expect("killall l3fwd-power", "# ", 60, alt_session=True)
+ self.dut.send_expect("killall %s" % self.dut.apps_name['l3fwd-power'].strip().split('/')[-1], "# ", 60, alt_session=True)
self.destroy_2vf_in_2pf()
else:
self.vm_testpmd.execute_cmd("quit", "#")
--
2.17.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:support meson build method
2020-09-15 3:10 [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:support meson build method Xie wei
@ 2020-09-15 3:09 ` Xie, WeiX
2020-09-15 8:56 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Xie, WeiX @ 2020-09-15 3:09 UTC (permalink / raw)
To: dts
[-- Attachment #1: Type: text/plain, Size: 1598 bytes --]
Tested-by: Xie,WeiX < weix.xie@intel.com>
Regards,
Xie Wei
-----Original Message-----
From: Xie, WeiX
Sent: Tuesday, September 15, 2020 11:11 AM
To: dts@dpdk.org
Cc: Xie, WeiX <weix.xie@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_kernelpf_iavf:support meson build method
support meson build method
Signed-off-by: Xie wei <weix.xie@intel.com>
---
tests/TestSuite_kernelpf_iavf.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index f8fa94f0..66389a29 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -863,7 +863,7 @@ class TestKernelpfIavf(TestCase):
self.bind_nic_driver(self.dut_ports, driver="")
self.create_2vf_in_host()
# start l3fwd-power
- l3fwd_app = "./examples/l3fwd-power/build/l3fwd-power"
+ l3fwd_app = self.dut.apps_name['l3fwd-power']
cmd = l3fwd_app + " -l 6,7 -n 4 -- -p 0x3 --config " + \
"'(0,0,6),(1,0,7)'"
@@ -979,7 +979,7 @@ class TestKernelpfIavf(TestCase):
Run after each test case.
"""
if self.running_case == "test_vf_rx_interrupt":
- self.dut.send_expect("killall l3fwd-power", "# ", 60, alt_session=True)
+ self.dut.send_expect("killall %s" % self.dut.apps_name['l3fwd-power'].strip().split('/')[-1], "# ", 60, alt_session=True)
self.destroy_2vf_in_2pf()
else:
self.vm_testpmd.execute_cmd("quit", "#")
--
2.17.1
[-- Attachment #2: TestKernelpfIavf.log --]
[-- Type: application/octet-stream, Size: 2290983 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:support meson build method
2020-09-15 3:10 [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:support meson build method Xie wei
2020-09-15 3:09 ` Xie, WeiX
@ 2020-09-15 8:56 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-09-15 8:56 UTC (permalink / raw)
To: Xie, WeiX, dts; +Cc: Xie, WeiX
> Subject: [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:support meson build
> method
>
> support meson build method
>
> Signed-off-by: Xie wei <weix.xie@intel.com>
Applied
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-15 8:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 3:10 [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:support meson build method Xie wei
2020-09-15 3:09 ` Xie, WeiX
2020-09-15 8:56 ` 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).