test suite reviews and discussions
 help / color / mirror / Atom feed
From: Reshma Pattan <reshma.pattan@intel.com>
To: dts@dpdk.org
Cc: Anatoly Burakov <anatoly.burakov@intel.com>,
	Reshma Pattan <reshma.pattan@intel.com>
Subject: [dts] [PATCH] tests: fix string to match DPDK output
Date: Mon, 19 Jul 2021 19:04:36 +0800	[thread overview]
Message-ID: <1626692676-70669-1-git-send-email-reshma.pattan@intel.com> (raw)

From: Anatoly Burakov <anatoly.burakov@intel.com>

The TestSuite_power_pbf.py is failing due to change
in the DPDK vm_power_mgmt application output, so
change test case to adopt the new o/p.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
---
 tests/TestSuite_power_pbf.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_power_pbf.py b/tests/TestSuite_power_pbf.py
index c3e2075..083fd5b 100644
--- a/tests/TestSuite_power_pbf.py
+++ b/tests/TestSuite_power_pbf.py
@@ -174,7 +174,7 @@ class TestPowerPbf(TestCase):
         cmd = [' '.join([self.vm_power_mgr, option]), prompt, 30]
         output = self.d_con(cmd)
         self.is_mgr_on = True
-        
+
         return output
 
     def close_vm_power_mgr(self):
@@ -361,11 +361,11 @@ class TestPowerPbf(TestCase):
     def parse_vm_power_cores_freq(self, output):
         ''' get vm power management cores frequency '''
         pat_begin = (
-            'POWER: power_set_governor_performance: Power management '
+            'POWER: power_set_governor: Power management '
             'governor of lcore (\\d+) is already performance')
         pat_begin2 = (
-            'Power management governor of lcore (\d+) '
-            'has been set to performance successfully')
+            "Power management governor of lcore (\d+) "
+            "has been set to 'performance' successfully")
         pat_end = \
             'POWER: Initialized successfully for lcore (\\d+) power management'
         pat_freq = (
-- 
1.8.3.1


             reply	other threads:[~2021-07-19 11:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-19 11:04 Reshma Pattan [this message]
2021-07-20  9:43 ` Pattan, Reshma
2021-07-26  2:10   ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1626692676-70669-1-git-send-email-reshma.pattan@intel.com \
    --to=reshma.pattan@intel.com \
    --cc=anatoly.burakov@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).