[V1,3/5] tests/TestSuite_cvl_fdir:support meson build method

Message ID 20200911021928.8224-4-weix.xie@intel.com (mailing list archive)
State Accepted
Headers
Series support meson build method |

Commit Message

Xie, WeiX Sept. 11, 2020, 2:19 a.m. UTC
  Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_cvl_fdir.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/tests/TestSuite_cvl_fdir.py b/tests/TestSuite_cvl_fdir.py
index 3bbb830..474ec2c 100644
--- a/tests/TestSuite_cvl_fdir.py
+++ b/tests/TestSuite_cvl_fdir.py
@@ -3036,7 +3036,7 @@  class TestCVLFdir(TestCase):
                                                        socket=self.ports_socket)
             param = " --log-level='ice,7' -- -i --portmask=%s --rxq=%d --txq=%d --port-topology=loop --cmdline-file=%s" % (
                 self.portMask, 64, 64, cmd_path)
-            command_line = self.dut.target + "/app/testpmd " + eal_param + param
+            command_line = self.dut.apps_name['test-pmd'] + eal_param + param
             out = self.dut.send_expect(command_line, 'testpmd>', timeout=600)
             self.verify('Failed to create file' not in out, "create some rule failed: %s" % out)
             self.config_testpmd()