[V1] at the request of dpdk, execute dpdk-telemetry-client.py with python3
diff mbox series

Message ID 20200724173105.67824-1-junx.w.zhou@intel.com
State New
Headers show
Series
  • [V1] at the request of dpdk, execute dpdk-telemetry-client.py with python3
Related show

Commit Message

Zhou, JunX W July 24, 2020, 5:31 p.m. UTC
From: Zhou jun <junx.w.zhou@intel.com>

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

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

Comments

Zhou, JunX W July 24, 2020, 9:38 a.m. UTC | #1
Tested-by: junx.w.zhou@intel.com

-----Original Message-----
From: Zhou, JunX W 
Sent: Saturday, July 25, 2020 1:31 AM
To: dts@dpdk.org
Cc: Zhou, JunX W <junx.w.zhou@intel.com>
Subject: [dts][PATCH V1] at the request of dpdk, execute dpdk-telemetry-client.py with python3

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

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

Signed-off-by: Zhou jun <junx.w.zhou@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

Patch
diff mbox series

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):