diff mbox series

[2/6] tests/TestSuite_af_xdp_2:support meson build

Message ID 20200826101522.110423-3-weix.ling@intel.com (mailing list archive)
State Accepted
Headers show
Series support meson build | expand

Commit Message

Ling, WeiX Aug. 26, 2020, 10:15 a.m. UTC
Signed-off-by: lingwei <weix.ling@intel.com>
---
 tests/TestSuite_af_xdp_2.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/tests/TestSuite_af_xdp_2.py b/tests/TestSuite_af_xdp_2.py
index 4397597..f1d495f 100644
--- a/tests/TestSuite_af_xdp_2.py
+++ b/tests/TestSuite_af_xdp_2.py
@@ -188,9 +188,9 @@  class TestAfXdp(TestCase):
 
         eal_params = self.dut.create_eal_parameters(cores=self.core_list[:-max(self.port_num, self.vdev_num) * self.queue_number],
                 vdevs=vdev, no_pci=True)
-        command_line = "./%s/app/testpmd %s --log-level=pmd.net.af_xdp:8 -- -i %s %s --auto-start --nb-cores=%d --rxq=%d --txq=%d %s"
-        command = command_line % (self.dut.target, eal_params, fwd_mode, rss_ip,
-                self.nb_cores, self.queue_number, self.queue_number, topology)
+        app_name = self.dut.apps_name['test-pmd']
+        command = app_name + " %s --log-level=pmd.net.af_xdp:8 -- -i %s %s --auto-start --nb-cores=%d --rxq=%d " \
+                             "--txq=%d %s" % (eal_params, fwd_mode, rss_ip, self.nb_cores, self.queue_number, self.queue_number, topology)
 
         self.logger.info('start testpmd')
         self.dut.send_expect(command, "testpmd> ", 120)