[dts] [PATCH V1] modify the test suite blacklist

Xu, HuilongX huilongx.xu at intel.com
Wed Sep 21 02:21:03 CEST 2016


Acket-by: huilong <huilongx.xu at intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xu,gang
> Sent: Tuesday, September 20, 2016 4:24 PM
> To: dts at dpdk.org
> Cc: Xu, GangX
> Subject: [dts] [PATCH V1] modify the test suite blacklist
> 
> Signed-off-by: xu,gang <gangx.xu at intel.com>
> ---
>  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)
> --
> 1.9.3



More information about the dts mailing list