test suite reviews and discussions
 help / color / mirror / Atom feed
From: "xu,huilong" <huilongx.xu@intel.com>
To: dts@dpdk.org
Cc: "xu,huilong" <huilongx.xu@intel.com>
Subject: [dts] [dts 2/2][PATCH V1] update coremask test case
Date: Thu, 18 Aug 2016 10:31:57 +0800	[thread overview]
Message-ID: <1471487517-18368-2-git-send-email-huilongx.xu@intel.com> (raw)
In-Reply-To: <1471487517-18368-1-git-send-email-huilongx.xu@intel.com>

update list:
1. set log leavel to debug leavel when setup dpdk app
2. skip core 0 when run all core mask.

Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
 tests/TestSuite_coremask.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/TestSuite_coremask.py b/tests/TestSuite_coremask.py
index 4f6f4bd..1fa30e1 100644
--- a/tests/TestSuite_coremask.py
+++ b/tests/TestSuite_coremask.py
@@ -17,7 +17,7 @@ from test_case import TestCase
 # Test class.
 #
 
-command_line = """./%s/app/test -c %s -n %d"""
+command_line = """./%s/app/test -c %s -n %d --log-level 8"""
 
 
 class TestCoremask(TestCase):
@@ -79,11 +79,11 @@ class TestCoremask(TestCase):
 
         out = self.dut.send_expect(command, "RTE>>", 10)
 
-        self.verify("EAL: Master lcore 0 is ready" in out,
-                    "Core 0 not ready")
+        self.verify("EAL: Master lcore 1 is ready" in out,
+                    "Core 1 not ready")
 
-        self.verify("EAL: Detected lcore 0 as core" in out,
-                    "Core 0 not detected")
+        self.verify("EAL: Detected lcore 1 as core" in out,
+                    "Core 1 not detected")
 
         for core in self.all_cores[1:]:
             self.verify("EAL: lcore %s is ready" % core in out,
@@ -99,7 +99,7 @@ class TestCoremask(TestCase):
         Check coremask parsing for more cores than available.
         """
 
-        command_line = """./%s/app/test -c %s -n %d|tee out"""
+        command_line = """./%s/app/test -c %s -n %d --log-level 8|tee out"""
 
         # Default big coremask value 128
         big_coremask_size = 128
-- 
1.9.3

  reply	other threads:[~2016-08-18  2:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-18  2:31 [dts] [dts 1/2][PATCH V1] set dpdk log level to debug level xu,huilong
2016-08-18  2:31 ` xu,huilong [this message]
2016-08-18  7:31 ` Liu, Yong
2016-08-18  8:24   ` Xu, HuilongX
2016-08-19  1:13     ` Liu, Yong
2016-08-19  5:24       ` Xu, HuilongX

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=1471487517-18368-2-git-send-email-huilongx.xu@intel.com \
    --to=huilongx.xu@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).