[2/8] tests/TestSuite_port_control:support meson build method
Commit Message
Signed-off-by: Xie wei <weix.xie@intel.com>
---
tests/TestSuite_port_control.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -158,7 +158,8 @@ class TestPortControl(TestCase):
terminal.send_expect("ifconfig %s up" % vf_if[1], "#")
terminal.send_expect("ip addr flush %s " % vf_if[1], "#")
terminal.send_expect("./usertools/dpdk-devbind.py -b vfio-pci --force %s" % vf_pci[1], "#")
- cmd = "./%s/app/testpmd -n 1 -w %s --vfio-intr=legacy -- -i" % (self.target, vf_pci[1])
+ app_name = terminal.apps_name['test-pmd']
+ cmd = app_name + "-n 1 -w %s --vfio-intr=legacy -- -i" % vf_pci[1]
terminal.send_expect(cmd, "testpmd>", 10)
def start_testpmd(self, terminal):