[dts] [PATCH V2] tests/unit_tests_power: align changes with dpdk
Tu, Lijuan
lijuan.tu at intel.com
Wed Jul 10 04:11:42 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Wenjie Li
> Sent: Monday, July 8, 2019 10:44 PM
> To: dts at dpdk.org
> Cc: Yao, Lei A <lei.a.yao at intel.com>; Li, WenjieX A <wenjiex.a.li at intel.com>
> Subject: [dts] [PATCH V2] tests/unit_tests_power: align changes with dpdk
>
> 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