[dts] [PATCH V2] tests/unit_tests_power: align changes with dpdk

Wenjie Li wenjiex.a.li at intel.com
Mon Jul 8 16:44:21 CEST 2019


In dpdk c7ec1f26fd6e6e64412, test_power_acpi_cpufreq and
test_power_acpi_caps were changed to test_power_cpufreq and
test_power_caps, align this change in dts.

Signed-off-by: Wenjie Li <wenjiex.a.li at intel.com>
---
 tests/TestSuite_unit_tests_power.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_unit_tests_power.py b/tests/TestSuite_unit_tests_power.py
index 1191168..4d90b88 100644
--- a/tests/TestSuite_unit_tests_power.py
+++ b/tests/TestSuite_unit_tests_power.py
@@ -77,25 +77,25 @@ class TestUnitTestsPower(TestCase):
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
 
-    def test_power_acpi_cpufreq(self):
+    def test_power_cpufreq(self):
         """
         Run power acpi cpu frequency autotest.
         """
         # This acpi driver test case need correct BIOS and Grub settings.
         # otherwise, the power lib initialization will be failed
         self.dut.send_expect("./%s/app/test -n 1 -c %s" % (self.target, self.coremask), "R.*T.*E.*>.*>", 60)
-        out = self.dut.send_expect("power_acpi_cpufreq_autotest", "RTE>>", 60)
+        out = self.dut.send_expect("power_cpufreq_autotest", "RTE>>", 60)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
 
-    def test_power_acpi_caps(self):
+    def test_power_caps(self):
         """
         Run power acpi cpu caps autotest.
         """
         # This acpi driver test case need correct BIOS and Grub settings.
         # otherwise, the power lib initialization will be failed
         self.dut.send_expect("./%s/app/test -n 1 -c %s" % (self.target, self.coremask), "R.*T.*E.*>.*>", 60)
-        out = self.dut.send_expect("power_acpi_caps_autotest", "RTE>>", 60)
+        out = self.dut.send_expect("power_caps_autotest", "RTE>>", 60)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
 
-- 
2.17.1



More information about the dts mailing list