diff mbox series

[V1] tests/TestSuite_telemetry:modify file path

Message ID 20210108072751.15119-1-yanx.xia@intel.com (mailing list archive)
State Changes Requested
Headers show
Series [V1] tests/TestSuite_telemetry:modify file path | expand

Commit Message

Yan Xia Jan. 8, 2021, 7:27 a.m. UTC
modify file path

Signed-off-by: Xia Yan <yanx.xia@intel.com>
---
 tests/TestSuite_telemetry.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lijuan Tu Jan. 13, 2021, 6:49 a.m. UTC | #1
> 
> modify file path
> 
> Signed-off-by: Xia Yan <yanx.xia@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
> 81e14a6c..bc2358c5 100644
> --- a/tests/TestSuite_telemetry.py
> +++ b/tests/TestSuite_telemetry.py
> @@ -128,7 +128,7 @@ class TestTelemetry(TestCase):
>          self.query_tool = ';'.join([
>              'cd {}'.format(self.target_dir),
>              'chmod 777 {}'.format(fileName),
> -            './' + fileName])
> +            'python2 ' + fileName])

Python2 is EOL, please update to python3, thanks

> 
>      def rename_dpdk_telemetry_tool(self):
>          '''
> --
> 2.17.1
diff mbox series

Patch

diff --git a/tests/TestSuite_telemetry.py b/tests/TestSuite_telemetry.py
index 81e14a6c..bc2358c5 100644
--- a/tests/TestSuite_telemetry.py
+++ b/tests/TestSuite_telemetry.py
@@ -128,7 +128,7 @@  class TestTelemetry(TestCase):
         self.query_tool = ';'.join([
             'cd {}'.format(self.target_dir),
             'chmod 777 {}'.format(fileName),
-            './' + fileName])
+            'python2 ' + fileName])
 
     def rename_dpdk_telemetry_tool(self):
         '''