test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] tests/unit_tests_power: align changes with dpdk
@ 2019-07-08 14:44 Wenjie Li
  2019-07-10  2:11 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Wenjie Li @ 2019-07-08 14:44 UTC (permalink / raw)
  To: dts; +Cc: lei.a.yao, Wenjie Li

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@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


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

* Re: [dts] [PATCH V2] tests/unit_tests_power: align changes with dpdk
  2019-07-08 14:44 [dts] [PATCH V2] tests/unit_tests_power: align changes with dpdk Wenjie Li
@ 2019-07-10  2:11 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-07-10  2:11 UTC (permalink / raw)
  To: Li, WenjieX A, dts; +Cc: Yao, Lei A, Li, WenjieX A

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li
> Sent: Monday, July 8, 2019 10:44 PM
> To: dts@dpdk.org
> Cc: Yao, Lei A <lei.a.yao@intel.com>; Li, WenjieX A <wenjiex.a.li@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@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


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-08 14:44 [dts] [PATCH V2] tests/unit_tests_power: align changes with dpdk Wenjie Li
2019-07-10  2:11 ` 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).