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 5E6FF532C for ; Wed, 21 Sep 2016 09:29:18 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP; 21 Sep 2016 00:29:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,372,1470726000"; d="scan'208";a="11699002" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga005.jf.intel.com with ESMTP; 21 Sep 2016 00:29:16 -0700 Message-ID: <57E2378C.9060102@intel.com> Date: Wed, 21 Sep 2016 15:32:28 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "xu,gang" , dts@dpdk.org References: <1474359813-21846-1-git-send-email-gangx.xu@intel.com> In-Reply-To: <1474359813-21846-1-git-send-email-gangx.xu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH V1] modify the test suite blacklist 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: Wed, 21 Sep 2016 07:29:19 -0000 Thanks, applied. On 09/20/2016 04:23 PM, xu,gang wrote: > Signed-off-by: xu,gang > --- > tests/TestSuite_blacklist.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/TestSuite_blacklist.py b/tests/TestSuite_blacklist.py > index 784d70d..b807629 100644 > --- a/tests/TestSuite_blacklist.py > +++ b/tests/TestSuite_blacklist.py > @@ -45,12 +45,12 @@ class TestBlackList(TestCase): > Requirements: > Two Ports > """ > - self.ports = self.dut.get_ports() > + self.ports = self.dut.get_ports(self.nic) > self.verify(len(self.ports) >= 2, "Insufficient ports for testing") > [arch, machine, self.env, toolchain] = self.target.split('-') > > if self.env == 'bsdapp': > - self.regexp_blacklisted_port = "EAL: PCI device %02x:%s on NUMA socket [-0-9]+[^\n]*\nEAL: Device is blacklisted, not initializing" > + self.regexp_blacklisted_port = "EAL: PCI device 0000:%02x:%s on NUMA socket [-0-9]+[^\n]*\nEAL: Device is blacklisted, not initializing" > else: > self.regexp_blacklisted_port = "EAL: PCI device %s on NUMA socket [-0-9]+[^\n]*\nEAL: Device is blacklisted, not initializing" > self.pmdout = PmdOutput(self.dut)