* [dts] [PATCH] tests/vhost_pmd_xstats: Optimize for multi-platform
@ 2017-12-04 1:25 Phil Yang
2017-12-22 14:18 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: Phil Yang @ 2017-12-04 1:25 UTC (permalink / raw)
To: dts; +Cc: nd, Jianbo.Liu, Herbert.Guan, phil.yang, yong.liu
Add multi platform support.
Signed-off-by: Phil Yang <phil.yang@arm.com>
---
tests/TestSuite_vhost_pmd_xstats.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_vhost_pmd_xstats.py b/tests/TestSuite_vhost_pmd_xstats.py
index 812cb94..2b95536 100644
--- a/tests/TestSuite_vhost_pmd_xstats.py
+++ b/tests/TestSuite_vhost_pmd_xstats.py
@@ -79,7 +79,8 @@ class TestVhostPmdXstats(TestCase):
self.dut.send_expect("rm -rf ./vhost.out", "#")
self.dut.send_expect("rm -rf ./vhost-net*", "#")
self.dut.send_expect("killall vhost-switch", "#")
- self.dut.send_expect("killall qemu-system-x86_64", "#")
+ dut_arch = self.dut.send_expect("uname -m", "#")
+ self.dut.send_expect("killall qemu-system-%s" % dut_arch, "#")
def vm_testpmd_start(self):
"""
@@ -144,7 +145,7 @@ class TestVhostPmdXstats(TestCase):
"""
prepare all of the conditions for start
"""
- self.dut.send_expect("./%s/app/testpmd -c %s -n %s --socket-mem 1024,0 --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i --nb-cores=1" %
+ self.dut.send_expect("./%s/app/testpmd -c %s -n %s --vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i --nb-cores=1" %
(self.target, self.coremask, self.dut.get_memory_channels()), "testpmd>", 60)
self.start_onevm()
self.vm_testpmd_start()
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH] tests/vhost_pmd_xstats: Optimize for multi-platform
2017-12-04 1:25 [dts] [PATCH] tests/vhost_pmd_xstats: Optimize for multi-platform Phil Yang
@ 2017-12-22 14:18 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2017-12-22 14:18 UTC (permalink / raw)
To: Phil Yang, dts; +Cc: nd, Jianbo.Liu, Herbert.Guan
Thanks, Phil. Applied.
On 12/04/2017 09:25 AM, Phil Yang wrote:
> Add multi platform support.
>
> Signed-off-by: Phil Yang<phil.yang@arm.com>
> ---
> tests/TestSuite_vhost_pmd_xstats.py | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-22 6:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-04 1:25 [dts] [PATCH] tests/vhost_pmd_xstats: Optimize for multi-platform Phil Yang
2017-12-22 14:18 ` Liu, Yong
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).