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

Liu, Yong yong.liu at intel.com
Wed Sep 21 09:32:28 CEST 2016


Thanks, applied.

On 09/20/2016 04:23 PM, xu,gang wrote:
> 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)



More information about the dts mailing list