test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests: add comment for the test ENV requirement of Power Unit test
@ 2019-03-05 14:16 Lei
  2019-03-07 10:17 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Lei @ 2019-03-05 14:16 UTC (permalink / raw)
  To: dts; +Cc: Lei Yao

From: Lei Yao <lei.a.yao@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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] tests: add comment for the test ENV requirement of Power Unit test
  2019-03-05 14:16 [dts] [PATCH] tests: add comment for the test ENV requirement of Power Unit test Lei
@ 2019-03-07 10:17 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-03-07 10:17 UTC (permalink / raw)
  To: Yao, Lei A, dts; +Cc: Yao, Lei A

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Lei
> Sent: Tuesday, March 5, 2019 10:16 PM
> To: dts@dpdk.org
> Cc: Yao, Lei A <lei.a.yao@intel.com>
> Subject: [dts] [PATCH] tests: add comment for the test ENV requirement of
> Power Unit test
> 
> From: Lei Yao <lei.a.yao@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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-07 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-05 14:16 [dts] [PATCH] tests: add comment for the test ENV requirement of Power Unit test Lei
2019-03-07 10:17 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).