diff mbox series

[1/8] tests/TestSuite_flow_filtering:support meson build method

Message ID 20200902091510.6043-2-weix.xie@intel.com (mailing list archive)
State Accepted
Headers show
Series support meson build method | expand

Commit Message

Xie, WeiX Sept. 2, 2020, 9:15 a.m. UTC
Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_flow_filtering.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/tests/TestSuite_flow_filtering.py b/tests/TestSuite_flow_filtering.py
index 079435d..4e3c544 100644
--- a/tests/TestSuite_flow_filtering.py
+++ b/tests/TestSuite_flow_filtering.py
@@ -51,14 +51,15 @@  class TestFlowFiltering(TestCase):
         self.txitf = self.tester.get_interface(self.tester.get_local_port(self.dut_ports[0]))
         # Verify that enough ports are available
         self.verify(len(self.dut_ports) >= 1, "Insufficient ports for testing")
-        out = self.dut.build_dpdk_apps("./examples/flow_filtering/")
+        out = self.dut.build_dpdk_apps("./examples/flow_filtering")
         self.verify('Error' not in out, "Compilation failed")
 
     def set_up(self):
         """
         Run before each test case.
         """
-        out = self.dut.send_command("./examples/flow_filtering/build/flow -l 1 -n 1", timeout=15)
+        cmd = self.dut.apps_name['flow_filtering'] + "-l 1 -n 1"
+        out = self.dut.send_command(cmd, timeout=15)
         self.verify("Error" not in out, "flow launch failed")
 
     def send_packet(self, pkg):