[V1] tests/telemetry: Remove unnecessary resource code changing and rebuild

Message ID 20220325083915.714-1-junx.dong@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/telemetry: Remove unnecessary resource code changing and rebuild |

Checks

Context Check Description
ci/Intel-dts-suite-test success Testing OK

Commit Message

Jun Dong March 25, 2022, 8:39 a.m. UTC
  Signed-off-by: Jun Dong <junx.dong@intel.com>
---
 tests/TestSuite_telemetry.py | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
  

Comments

Tu, Lijuan March 31, 2022, 6:33 a.m. UTC | #1
On Fri, 25 Mar 2022 16:39:15 +0800, Jun Dong <junx.dong@intel.com> wrote:
> Signed-off-by: Jun Dong <junx.dong@intel.com>


Applied, thanks
  

Patch

diff --git a/tests/TestSuite_telemetry.py b/tests/TestSuite_telemetry.py
index 2e0e3c5b..b25dcbd3 100644
--- a/tests/TestSuite_telemetry.py
+++ b/tests/TestSuite_telemetry.py
@@ -43,9 +43,6 @@  from framework.test_case import TestCase
 
 
 class TestTelemetry(TestCase):
-    def set_compiler_switch(self):
-        self.dut.set_build_options({"RTE_LIBRTE_TELEMETRY": "y"})
-
     def create_query_script(self):
         """
         usertools/dpdk-telemetry-client.py is not user friendly(till 19.05).
@@ -214,10 +211,6 @@  class TestTelemetry(TestCase):
         return outputs
 
     def init_test_binary_files(self):
-        # set_compiler_switch
-        if not self.dut.skip_setup:
-            self.set_compiler_switch()
-            self.dut.build_install_dpdk(self.target)
         # initialize testpmd
         self.testpmd_status = "close"
         self.testpmd = PmdOutput(self.dut)
@@ -605,8 +598,7 @@  class TestTelemetry(TestCase):
         """
         Run after each test suite.
         """
-        self.dut.set_build_options({"RTE_LIBRTE_TELEMETRY": "n"})
-        self.dut.build_install_dpdk(self.target)
+        pass
 
     def test_basic_connection(self):
         """