diff mbox series

[V1] tests/TestSuite_pmdrssreta:support meson build method

Message ID 20200914093114.30562-1-weix.xie@intel.com (mailing list archive)
State Accepted
Headers show
Series [V1] tests/TestSuite_pmdrssreta:support meson build method | expand

Commit Message

Xie, WeiX Sept. 14, 2020, 9:31 a.m. UTC
support meson build method

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_pmdrssreta.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Xie, WeiX Sept. 14, 2020, 9:38 a.m. UTC | #1
Tested-by:  Xie,WeiX < weix.xie@intel.com>

Regards,
Xie Wei

-----Original Message-----
From: Xie, WeiX 
Sent: Monday, September 14, 2020 5:31 PM
To: dts@dpdk.org
Cc: Xie, WeiX <weix.xie@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_pmdrssreta:support meson build method

support meson build method

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_pmdrssreta.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py index 3595ac5a..168119fe 100644
--- a/tests/TestSuite_pmdrssreta.py
+++ b/tests/TestSuite_pmdrssreta.py
@@ -268,7 +268,8 @@ class TestPmdrssreta(TestCase):
         localPort = self.tester.get_local_port(dutPorts[0])
         itf = self.tester.get_interface(localPort)
         self.dut.kill_all()
-        self.dut.send_expect("./%s/app/testpmd  -c %s -n %d -- -i --rxq=2 --txq=2" % (self.target, self.coremask, self.dut.get_memory_channels()), "testpmd> ", 120)
+        cmd = self.dut.apps_name['test-pmd'] + "-c %s -n %d -- -i --rxq=2 --txq=2" % (self.coremask, self.dut.get_memory_channels())
+        self.dut.send_expect(cmd, "testpmd> ", 120)
 
         self.dut.send_expect("start", "testpmd> ", 120)
         out = self.dut.send_expect("show port info all", "testpmd> ", 120)
--
2.17.1
Tu, Lijuan Sept. 15, 2020, 8:51 a.m. UTC | #2
> Subject: [dts] [PATCH V1] tests/TestSuite_pmdrssreta:support meson build
> method
> 
> support meson build method
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>

Applied
diff mbox series

Patch

diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py
index 3595ac5a..168119fe 100644
--- a/tests/TestSuite_pmdrssreta.py
+++ b/tests/TestSuite_pmdrssreta.py
@@ -268,7 +268,8 @@  class TestPmdrssreta(TestCase):
         localPort = self.tester.get_local_port(dutPorts[0])
         itf = self.tester.get_interface(localPort)
         self.dut.kill_all()
-        self.dut.send_expect("./%s/app/testpmd  -c %s -n %d -- -i --rxq=2 --txq=2" % (self.target, self.coremask, self.dut.get_memory_channels()), "testpmd> ", 120)
+        cmd = self.dut.apps_name['test-pmd'] + "-c %s -n %d -- -i --rxq=2 --txq=2" % (self.coremask, self.dut.get_memory_channels())
+        self.dut.send_expect(cmd, "testpmd> ", 120)
 
         self.dut.send_expect("start", "testpmd> ", 120)
         out = self.dut.send_expect("show port info all", "testpmd> ", 120)