[dts] [PATCH V1] at the request of dpdk, execute dpdk-telemetry-client.py with python3

Zhou, Jun junx.w.zhou at intel.com
Fri Jul 24 19:31:05 CEST 2020


From: Zhou jun <junx.w.zhou at intel.com>

at the request of dpdk, execute dpdk-telemetry-client.py with python3

Signed-off-by: Zhou jun <junx.w.zhou at intel.com>
---
 tests/TestSuite_telemetry.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_telemetry.py b/tests/TestSuite_telemetry.py
index 000963b..81e14a6 100644
--- a/tests/TestSuite_telemetry.py
+++ b/tests/TestSuite_telemetry.py
@@ -346,7 +346,7 @@ class TestTelemetry(TestCase):
         self.dut_s_session = self.dut.new_session()
         dpdk_tool = os.path.join(
             self.target_dir, 'usertools/dpdk-telemetry-client.py')
-        output = self.dut_s_session.send_expect(dpdk_tool, ':', 5)
+        output = self.dut_s_session.send_expect('python3 ' + dpdk_tool, ':', 5)
         return output
 
     def close_telemetry_client(self):
-- 
1.8.3.1



More information about the dts mailing list