[dts] [PATCH] tests: add comment for the test ENV requirement of Power Unit test
Tu, Lijuan
lijuan.tu at intel.com
Thu Mar 7 11:17:03 CET 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Lei
> Sent: Tuesday, March 5, 2019 10:16 PM
> To: dts at dpdk.org
> Cc: Yao, Lei A <lei.a.yao at intel.com>
> Subject: [dts] [PATCH] tests: add comment for the test ENV requirement of
> Power Unit test
>
> 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