[dts] [dts 06/38] tests-TestSuite_flow_classify.py:support meson build

xizhan4x xix.zhang at intel.com
Fri Sep 4 10:18:13 CEST 2020


Signed-off-by: xizhan4x <xix.zhang at intel.com>
---
 tests/TestSuite_flow_classify.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_flow_classify.py b/tests/TestSuite_flow_classify.py
index 213ae49..75410b3 100644
--- a/tests/TestSuite_flow_classify.py
+++ b/tests/TestSuite_flow_classify.py
@@ -319,7 +319,8 @@ class TestFlowClassify(TestCase):
             self.output_path, 'flow_classify', timestamp)
         with open(self.test_data, 'w') as fp:
             fp.write(output)
-        cmds = ['killall flow_classify', '# ', 10]
+        app_name=self.flow_classify.split("/")[-1]
+        cmds = ['killall %s'%app_name, '# ', 10]
         self.d_a_console(cmds)
 
     def get_stream_rule_priority(self, stream_type):
@@ -470,7 +471,8 @@ class TestFlowClassify(TestCase):
         self.dut_ports = self.dut.get_ports()
         self.verify(len(self.dut_ports) >= 2, "Insufficient ports")
         # set binary process setting
-        self.flow_classify = self.prepare_binary('flow_classify')
+        self.prepare_binary('flow_classify')
+        self.flow_classify =self.dut.apps_name["flow_classify"]
         self.verify_supported_nic()
 
     def set_up(self):
-- 
1.8.3.1



More information about the dts mailing list