test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] modify the test suite blacklist
@ 2016-09-20  8:23 xu,gang
  2016-09-21  0:21 ` Xu, HuilongX
  2016-09-21  7:32 ` Liu, Yong
  0 siblings, 2 replies; 3+ messages in thread
From: xu,gang @ 2016-09-20  8:23 UTC (permalink / raw)
  To: dts; +Cc: xu,gang

Signed-off-by: xu,gang <gangx.xu@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] modify the test suite blacklist
  2016-09-20  8:23 [dts] [PATCH V1] modify the test suite blacklist xu,gang
@ 2016-09-21  0:21 ` Xu, HuilongX
  2016-09-21  7:32 ` Liu, Yong
  1 sibling, 0 replies; 3+ messages in thread
From: Xu, HuilongX @ 2016-09-21  0:21 UTC (permalink / raw)
  To: Xu, GangX, dts; +Cc: Xu, GangX

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] modify the test suite blacklist
  2016-09-20  8:23 [dts] [PATCH V1] modify the test suite blacklist xu,gang
  2016-09-21  0:21 ` Xu, HuilongX
@ 2016-09-21  7:32 ` Liu, Yong
  1 sibling, 0 replies; 3+ messages in thread
From: Liu, Yong @ 2016-09-21  7:32 UTC (permalink / raw)
  To: xu,gang, dts

Thanks, applied.

On 09/20/2016 04:23 PM, xu,gang wrote:
> Signed-off-by: xu,gang <gangx.xu@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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-21  7:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-20  8:23 [dts] [PATCH V1] modify the test suite blacklist xu,gang
2016-09-21  0:21 ` Xu, HuilongX
2016-09-21  7:32 ` Liu, Yong

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).