From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Zhang, XiX" <xix.zhang@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhang, XiX" <xix.zhang@intel.com>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_blacklist:Modify regular match
Date: Mon, 1 Jun 2020 03:25:21 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC56789@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1590743442-128518-1-git-send-email-xix.zhang@intel.com>
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xizhan4x
> Sent: Friday, May 29, 2020 5:11 PM
> To: dts@dpdk.org
> Cc: Zhang, XiX <xix.zhang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_blacklist:Modify regular match
>
> Modify regular expression matching blacklist
>
>
> Signed-off-by: xizhan4x <xix.zhang@intel.com>
> ---
> tests/TestSuite_blacklist.py | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/tests/TestSuite_blacklist.py b/tests/TestSuite_blacklist.py index
> 64360bb..d017347 100644
> --- a/tests/TestSuite_blacklist.py
> +++ b/tests/TestSuite_blacklist.py
> @@ -49,7 +49,7 @@ 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]+\)"
> + self.regexp_blacklisted_port = "Probe PCI driver: net.*%s \(%s\)
> device: .*%s \(socket [-0-9]+\)"
> self.pmdout = PmdOutput(self.dut)
>
> def set_up(self):
> @@ -71,8 +71,6 @@ class TestBlackList(TestCase):
> # "Device is blacklisted, not initializing" but avoid to consume more
> # than one device.
> port_pci = self.dut.ports_info[port]['pci']
> - if self.env == "bsdapp":
> - port_pci = ':'.join(["0000", port_pci])
> regexp_blacklisted_port = self.regexp_blacklisted_port % (
> DRIVERS.get(self.nic), self.dut.ports_info[port]['type'],
> port_pci)
> --
> 2.17.2
prev parent reply other threads:[~2020-06-01 3:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-29 9:10 xizhan4x
2020-05-29 9:13 ` Zhang, XiX
2020-06-01 3:25 ` Tu, Lijuan [this message]
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=8CE3E05A3F976642AAB0F4675D0AD20E0BC56789@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=xix.zhang@intel.com \
/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).