[dts] [PATCH] tests: add comment for the test ENV requirement of Power Unit test

Lei lei.a.yao at intel.com
Tue Mar 5 15:16:09 CET 2019


From: Lei Yao <lei.a.yao at intel.com>

For APCI driver test, it need some special BIOS and GRUB settings to enable ACPI
driver.

Signed-off-by: Lei Yao <lei.a.yao at intel.com>
---
 tests/TestSuite_unit_tests_power.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_unit_tests_power.py b/tests/TestSuite_unit_tests_power.py
index 34c8296..1191168 100644
--- a/tests/TestSuite_unit_tests_power.py
+++ b/tests/TestSuite_unit_tests_power.py
@@ -81,7 +81,8 @@ class TestUnitTestsPower(TestCase):
         """
         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)
         self.dut.send_expect("quit", "# ")
@@ -91,7 +92,8 @@ class TestUnitTestsPower(TestCase):
         """
         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)
         self.dut.send_expect("quit", "# ")
-- 
2.7.4



More information about the dts mailing list