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

Zhou, JunX W junx.w.zhou at intel.com
Fri Jul 24 11:38:39 CEST 2020


Tested-by: junx.w.zhou at intel.com

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

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestTelemetry.log
Type: application/octet-stream
Size: 778642 bytes
Desc: TestTelemetry.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20200724/59a8b679/attachment.obj>


More information about the dts mailing list