From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id F28095902 for ; Thu, 18 Aug 2016 04:36:25 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 17 Aug 2016 19:36:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,537,1464678000"; d="scan'208";a="1037537015" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.239.254.239]) by orsmga002.jf.intel.com with ESMTP; 17 Aug 2016 19:36:24 -0700 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Thu, 18 Aug 2016 10:31:57 +0800 Message-Id: <1471487517-18368-2-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1471487517-18368-1-git-send-email-huilongx.xu@intel.com> References: <1471487517-18368-1-git-send-email-huilongx.xu@intel.com> Subject: [dts] [dts 2/2][PATCH V1] update coremask test case X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 02:36:27 -0000 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 --- 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