test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 0/2] dts/tests: fix typo in output message
@ 2019-07-10  3:09 yufengmx
  2019-07-10  3:09 ` [dts] [PATCH V1 1/2] tests/kni: " yufengmx
  2019-07-10  3:09 ` [dts] [PATCH V1 2/2] tests/vm_power_manager: " yufengmx
  0 siblings, 2 replies; 6+ messages in thread
From: yufengmx @ 2019-07-10  3:09 UTC (permalink / raw)
  To: dts; +Cc: yufengmx

 fix typo issue in output message. 

yufengmx (2):
  tests/kni: fix typo in output message
  tests/vm_power_manager: fix typo in output message

 tests/TestSuite_kni.py              |  4 ++--
 tests/TestSuite_vm_power_manager.py | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

-- 
1.9.3


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

* [dts] [PATCH V1 1/2] tests/kni: fix typo in output message
  2019-07-10  3:09 [dts] [PATCH V1 0/2] dts/tests: fix typo in output message yufengmx
@ 2019-07-10  3:09 ` yufengmx
  2019-07-10  8:28   ` Yao, Lei A
  2019-07-10  3:09 ` [dts] [PATCH V1 2/2] tests/vm_power_manager: " yufengmx
  1 sibling, 1 reply; 6+ messages in thread
From: yufengmx @ 2019-07-10  3:09 UTC (permalink / raw)
  To: dts; +Cc: yufengmx


fix typo issue in output message.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 tests/TestSuite_kni.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py
index cf2403d..f1f85df 100644
--- a/tests/TestSuite_kni.py
+++ b/tests/TestSuite_kni.py
@@ -780,7 +780,7 @@ class TestKni(TestCase):
             total_cores = len(self.config['tx_cores'] + self.config[
                               'rx_cores'] + self.config['kernel_cores'])
             if total_cores > self.dut_physical_cores():
-                self.logger.info("Skiping step %s (%d cores needed, got %d)" %
+                self.logger.info("Skipping step %s (%d cores needed, got %d)" %
                               (step['config'], total_cores,
                                self.dut_physical_cores())
                               )
@@ -850,7 +850,7 @@ class TestKni(TestCase):
             total_cores = len(self.config['tx_cores'] + self.config[
                               'rx_cores'] + self.config['kernel_cores'])
             if total_cores > self.dut_physical_cores():
-                self.logger.info("Skiping step %s (%d cores needed, got %d)" %
+                self.logger.info("Skipping step %s (%d cores needed, got %d)" %
                               (step['config'], total_cores,
                                self.dut_physical_cores())
                               )
-- 
1.9.3


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

* [dts] [PATCH V1 2/2] tests/vm_power_manager: fix typo in output message
  2019-07-10  3:09 [dts] [PATCH V1 0/2] dts/tests: fix typo in output message yufengmx
  2019-07-10  3:09 ` [dts] [PATCH V1 1/2] tests/kni: " yufengmx
@ 2019-07-10  3:09 ` yufengmx
  2019-07-10  8:31   ` Yao, Lei A
  2019-08-06 10:08   ` Tu, Lijuan
  1 sibling, 2 replies; 6+ messages in thread
From: yufengmx @ 2019-07-10  3:09 UTC (permalink / raw)
  To: dts; +Cc: yufengmx


fix typo issue in output message.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 tests/TestSuite_vm_power_manager.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/TestSuite_vm_power_manager.py b/tests/TestSuite_vm_power_manager.py
index 7620c19..1b9a965 100644
--- a/tests/TestSuite_vm_power_manager.py
+++ b/tests/TestSuite_vm_power_manager.py
@@ -151,7 +151,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator):
                 self.vm_dut.send_expect(
                     "set_cpu_freq %d down" % vcpu, "vmpower\(guest\)>")
                 cur_freq = self.get_cpu_frequency(self.vcpu_map[vcpu])
-                print utils.GREEN("After freqency down, freq is %d\n" % cur_freq)
+                print utils.GREEN("After frequency down, freq is %d\n" % cur_freq)
                 self.verify(
                     ori_freq > cur_freq, "Cpu freqenecy can not scale down")
                 ori_freq = cur_freq
@@ -178,7 +178,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator):
                 self.vm_dut.send_expect(
                     "set_cpu_freq %d up" % vcpu, "vmpower\(guest\)>")
                 cur_freq = self.get_cpu_frequency(self.vcpu_map[vcpu])
-                print utils.GREEN("After freqency up, freq is %d\n" % cur_freq)
+                print utils.GREEN("After frequency up, freq is %d\n" % cur_freq)
                 self.verify(
                     cur_freq > ori_freq, "Cpu freqenecy can not scale up")
                 ori_freq = cur_freq
@@ -205,7 +205,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator):
             max_freq = int(out)
 
             self.verify(freq == max_freq, "Cpu max frequency not correct")
-            print utils.GREEN("After freqency max, freq is %d\n" % max_freq)
+            print utils.GREEN("After frequency max, freq is %d\n" % max_freq)
         self.vm_dut.send_expect("quit", "# ")
 
     def test_vm_power_managment_freqmin(self):
@@ -228,7 +228,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator):
             min_freq = int(out)
 
             self.verify(freq == min_freq, "Cpu min frequency not correct")
-            print utils.GREEN("After freqency min, freq is %d\n" % min_freq)
+            print utils.GREEN("After frequency min, freq is %d\n" % min_freq)
         self.vm_dut.send_expect("quit", "# ")
 
     def test_vm_power_multivms(self):
@@ -269,7 +269,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator):
         cpu_idx = 0
         for cpu in cpus:
             cpu_map = '[%d]: Physical CPU %s' % (cpu_idx, cpu)
-            self.verify(cpu_map in vm_info, "Faile to map host cpu %s" % cpu)
+            self.verify(cpu_map in vm_info, "Failed to map host cpu %s" % cpu)
             cpu_idx += 1
 
         out = vm2_dut.build_dpdk_apps("examples/vm_power_manager/guest_cli")
-- 
1.9.3


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

* Re: [dts] [PATCH V1 1/2] tests/kni: fix typo in output message
  2019-07-10  3:09 ` [dts] [PATCH V1 1/2] tests/kni: " yufengmx
@ 2019-07-10  8:28   ` Yao, Lei A
  0 siblings, 0 replies; 6+ messages in thread
From: Yao, Lei A @ 2019-07-10  8:28 UTC (permalink / raw)
  To: Mo, YufengX, dts; +Cc: Mo, YufengX



> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx
> Sent: Wednesday, July 10, 2019 11:09 AM
> To: dts@dpdk.org
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts] [PATCH V1 1/2] tests/kni: fix typo in output message
> 
> 
> fix typo issue in output message.
> 
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
Acked-by : Lei Yao <lei.a.yao@intel.com>
> ---
>  tests/TestSuite_kni.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py
> index cf2403d..f1f85df 100644
> --- a/tests/TestSuite_kni.py
> +++ b/tests/TestSuite_kni.py
> @@ -780,7 +780,7 @@ class TestKni(TestCase):
>              total_cores = len(self.config['tx_cores'] + self.config[
>                                'rx_cores'] + self.config['kernel_cores'])
>              if total_cores > self.dut_physical_cores():
> -                self.logger.info("Skiping step %s (%d cores needed, got %d)" %
> +                self.logger.info("Skipping step %s (%d cores needed, got %d)" %
>                                (step['config'], total_cores,
>                                 self.dut_physical_cores())
>                                )
> @@ -850,7 +850,7 @@ class TestKni(TestCase):
>              total_cores = len(self.config['tx_cores'] + self.config[
>                                'rx_cores'] + self.config['kernel_cores'])
>              if total_cores > self.dut_physical_cores():
> -                self.logger.info("Skiping step %s (%d cores needed, got %d)" %
> +                self.logger.info("Skipping step %s (%d cores needed, got %d)" %
>                                (step['config'], total_cores,
>                                 self.dut_physical_cores())
>                                )
> --
> 1.9.3


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

* Re: [dts] [PATCH V1 2/2] tests/vm_power_manager: fix typo in output message
  2019-07-10  3:09 ` [dts] [PATCH V1 2/2] tests/vm_power_manager: " yufengmx
@ 2019-07-10  8:31   ` Yao, Lei A
  2019-08-06 10:08   ` Tu, Lijuan
  1 sibling, 0 replies; 6+ messages in thread
From: Yao, Lei A @ 2019-07-10  8:31 UTC (permalink / raw)
  To: Mo, YufengX, dts; +Cc: Mo, YufengX



> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx
> Sent: Wednesday, July 10, 2019 11:09 AM
> To: dts@dpdk.org
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts] [PATCH V1 2/2] tests/vm_power_manager: fix typo in output
> message
> 
> 
> fix typo issue in output message.
> 
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
Acked-by: Lei Yao <lei.a.yao@intel.com>
> ---
>  tests/TestSuite_vm_power_manager.py | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/tests/TestSuite_vm_power_manager.py
> b/tests/TestSuite_vm_power_manager.py
> index 7620c19..1b9a965 100644
> --- a/tests/TestSuite_vm_power_manager.py
> +++ b/tests/TestSuite_vm_power_manager.py
> @@ -151,7 +151,7 @@ class TestVmPowerManager(TestCase,
> IxiaPacketGenerator):
>                  self.vm_dut.send_expect(
>                      "set_cpu_freq %d down" % vcpu, "vmpower\(guest\)>")
>                  cur_freq = self.get_cpu_frequency(self.vcpu_map[vcpu])
> -                print utils.GREEN("After freqency down, freq is %d\n" % cur_freq)
> +                print utils.GREEN("After frequency down, freq is %d\n" % cur_freq)
>                  self.verify(
>                      ori_freq > cur_freq, "Cpu freqenecy can not scale down")
>                  ori_freq = cur_freq
> @@ -178,7 +178,7 @@ class TestVmPowerManager(TestCase,
> IxiaPacketGenerator):
>                  self.vm_dut.send_expect(
>                      "set_cpu_freq %d up" % vcpu, "vmpower\(guest\)>")
>                  cur_freq = self.get_cpu_frequency(self.vcpu_map[vcpu])
> -                print utils.GREEN("After freqency up, freq is %d\n" % cur_freq)
> +                print utils.GREEN("After frequency up, freq is %d\n" % cur_freq)
>                  self.verify(
>                      cur_freq > ori_freq, "Cpu freqenecy can not scale up")
>                  ori_freq = cur_freq
> @@ -205,7 +205,7 @@ class TestVmPowerManager(TestCase,
> IxiaPacketGenerator):
>              max_freq = int(out)
> 
>              self.verify(freq == max_freq, "Cpu max frequency not correct")
> -            print utils.GREEN("After freqency max, freq is %d\n" % max_freq)
> +            print utils.GREEN("After frequency max, freq is %d\n" % max_freq)
>          self.vm_dut.send_expect("quit", "# ")
> 
>      def test_vm_power_managment_freqmin(self):
> @@ -228,7 +228,7 @@ class TestVmPowerManager(TestCase,
> IxiaPacketGenerator):
>              min_freq = int(out)
> 
>              self.verify(freq == min_freq, "Cpu min frequency not correct")
> -            print utils.GREEN("After freqency min, freq is %d\n" % min_freq)
> +            print utils.GREEN("After frequency min, freq is %d\n" % min_freq)
>          self.vm_dut.send_expect("quit", "# ")
> 
>      def test_vm_power_multivms(self):
> @@ -269,7 +269,7 @@ class TestVmPowerManager(TestCase,
> IxiaPacketGenerator):
>          cpu_idx = 0
>          for cpu in cpus:
>              cpu_map = '[%d]: Physical CPU %s' % (cpu_idx, cpu)
> -            self.verify(cpu_map in vm_info, "Faile to map host cpu %s" % cpu)
> +            self.verify(cpu_map in vm_info, "Failed to map host cpu %s" % cpu)
>              cpu_idx += 1
> 
>          out =
> vm2_dut.build_dpdk_apps("examples/vm_power_manager/guest_cli")
> --
> 1.9.3


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

* Re: [dts] [PATCH V1 2/2] tests/vm_power_manager: fix typo in output message
  2019-07-10  3:09 ` [dts] [PATCH V1 2/2] tests/vm_power_manager: " yufengmx
  2019-07-10  8:31   ` Yao, Lei A
@ 2019-08-06 10:08   ` Tu, Lijuan
  1 sibling, 0 replies; 6+ messages in thread
From: Tu, Lijuan @ 2019-08-06 10:08 UTC (permalink / raw)
  To: Mo, YufengX, dts; +Cc: Mo, YufengX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx
> Sent: Wednesday, July 10, 2019 11:09 AM
> To: dts@dpdk.org
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts] [PATCH V1 2/2] tests/vm_power_manager: fix typo in output
> message
> 
> 
> fix typo issue in output message.
> 
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
> ---
>  tests/TestSuite_vm_power_manager.py | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/tests/TestSuite_vm_power_manager.py
> b/tests/TestSuite_vm_power_manager.py
> index 7620c19..1b9a965 100644
> --- a/tests/TestSuite_vm_power_manager.py
> +++ b/tests/TestSuite_vm_power_manager.py
> @@ -151,7 +151,7 @@ class TestVmPowerManager(TestCase,
> IxiaPacketGenerator):
>                  self.vm_dut.send_expect(
>                      "set_cpu_freq %d down" % vcpu, "vmpower\(guest\)>")
>                  cur_freq = self.get_cpu_frequency(self.vcpu_map[vcpu])
> -                print utils.GREEN("After freqency down, freq is %d\n" % cur_freq)
> +                print utils.GREEN("After frequency down, freq is %d\n" % cur_freq)
>                  self.verify(
>                      ori_freq > cur_freq, "Cpu freqenecy can not scale down")
>                  ori_freq = cur_freq
> @@ -178,7 +178,7 @@ class TestVmPowerManager(TestCase,
> IxiaPacketGenerator):
>                  self.vm_dut.send_expect(
>                      "set_cpu_freq %d up" % vcpu, "vmpower\(guest\)>")
>                  cur_freq = self.get_cpu_frequency(self.vcpu_map[vcpu])
> -                print utils.GREEN("After freqency up, freq is %d\n" % cur_freq)
> +                print utils.GREEN("After frequency up, freq is %d\n" % cur_freq)
>                  self.verify(
>                      cur_freq > ori_freq, "Cpu freqenecy can not scale up")
>                  ori_freq = cur_freq
> @@ -205,7 +205,7 @@ class TestVmPowerManager(TestCase,
> IxiaPacketGenerator):
>              max_freq = int(out)
> 
>              self.verify(freq == max_freq, "Cpu max frequency not correct")
> -            print utils.GREEN("After freqency max, freq is %d\n" % max_freq)
> +            print utils.GREEN("After frequency max, freq is %d\n" % max_freq)
>          self.vm_dut.send_expect("quit", "# ")
> 
>      def test_vm_power_managment_freqmin(self):
> @@ -228,7 +228,7 @@ class TestVmPowerManager(TestCase,
> IxiaPacketGenerator):
>              min_freq = int(out)
> 
>              self.verify(freq == min_freq, "Cpu min frequency not correct")
> -            print utils.GREEN("After freqency min, freq is %d\n" % min_freq)
> +            print utils.GREEN("After frequency min, freq is %d\n" % min_freq)
>          self.vm_dut.send_expect("quit", "# ")
> 
>      def test_vm_power_multivms(self):
> @@ -269,7 +269,7 @@ class TestVmPowerManager(TestCase,
> IxiaPacketGenerator):
>          cpu_idx = 0
>          for cpu in cpus:
>              cpu_map = '[%d]: Physical CPU %s' % (cpu_idx, cpu)
> -            self.verify(cpu_map in vm_info, "Faile to map host cpu %s" % cpu)
> +            self.verify(cpu_map in vm_info, "Failed to map host cpu %s" % cpu)
>              cpu_idx += 1
> 
>          out =
> vm2_dut.build_dpdk_apps("examples/vm_power_manager/guest_cli")
> --
> 1.9.3


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

end of thread, other threads:[~2019-08-06 10:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-10  3:09 [dts] [PATCH V1 0/2] dts/tests: fix typo in output message yufengmx
2019-07-10  3:09 ` [dts] [PATCH V1 1/2] tests/kni: " yufengmx
2019-07-10  8:28   ` Yao, Lei A
2019-07-10  3:09 ` [dts] [PATCH V1 2/2] tests/vm_power_manager: " yufengmx
2019-07-10  8:31   ` Yao, Lei A
2019-08-06 10:08   ` 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).