From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 02106A0093; Wed, 20 May 2020 10:01:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A786D1D162; Wed, 20 May 2020 10:01:49 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id C1A951C2E8 for ; Wed, 20 May 2020 10:01:48 +0200 (CEST) IronPort-SDR: 4XzG4vo/e5T9CXQPZwC1EM/RWipD43eVLNyh50n8W9g3tros8yo2D5vem5CNHZhaCPQlj7nxWM sTXjJT4+a6Ew== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2020 01:01:47 -0700 IronPort-SDR: X7BAWZPZvXAO5pmpEUHkluigegyCjKUB4qbjQRVFohCK5cEU9i6fj0tt8Sr0nEbXCp6qe1j+eT h/Rj2R121PBg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,413,1583222400"; d="scan'208";a="282603329" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.183.135]) by orsmga002.jf.intel.com with ESMTP; 20 May 2020 01:01:46 -0700 From: xizhan4x To: dts@dpdk.org Cc: xizhan4x Date: Wed, 20 May 2020 15:49:44 +0800 Message-Id: <1589960984-60061-1-git-send-email-xix.zhang@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/TestSuite_blacklist:Add judgment rule because the startup display of IGB network card is different 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Add judgment rule because the startup display of IGB network card is different Signed-off-by: xizhan4x --- tests/TestSuite_blacklist.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_blacklist.py b/tests/TestSuite_blacklist.py index 64360bb..2c8c24d 100644 --- a/tests/TestSuite_blacklist.py +++ b/tests/TestSuite_blacklist.py @@ -49,7 +49,10 @@ class TestBlackList(TestCase): 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('-') - self.regexp_blacklisted_port = "Probe PCI driver: net_%s \(%s\) device: %s \(socket [-0-9]+\)" + if DRIVERS.get(self.nic)=="igb": + self.regexp_blacklisted_port = "Probe PCI driver: net_e1000_%s \(%s\) device: %s \(socket [-0-9]+\)" + else: + self.regexp_blacklisted_port = "Probe PCI driver: net_%s \(%s\) device: %s \(socket [-0-9]+\)" self.pmdout = PmdOutput(self.dut) def set_up(self): -- 2.17.2