test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/queue_start_stop:Add network card type
@ 2019-06-25  6:20 changqingxwu
  2019-06-26  8:11 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: changqingxwu @ 2019-06-25  6:20 UTC (permalink / raw)
  To: dts; +Cc: changqingxwu

Signed-off-by: changqingxwu <changqingx.wu@intel.com>
---
 tests/TestSuite_queue_start_stop.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_queue_start_stop.py b/tests/TestSuite_queue_start_stop.py
index 34a2f41..e91ea91 100644
--- a/tests/TestSuite_queue_start_stop.py
+++ b/tests/TestSuite_queue_start_stop.py
@@ -157,7 +157,10 @@ class TestQueueStartStop(TestCase):
         except Exception, e:
             raise IOError("queue start/stop forward failure: %s" % e)
 
-        self.verify("ports 0 queue 0 receive 4 packages" in out, "start queue revice package failed, out = %s"%out)
+        if self.nic == "cavium_a063":
+            self.verify("ports 0 queue 0 receive 4 packages" in out, "start queue revice package failed, out = %s"%out)
+        else:
+            self.verify("ports 0 queue 0 receive 1 packages\r\n"*4 in out, "start queue revice package failed, out = %s"%out)
 
         try:
             # start tx queue test
-- 
2.17.2


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

* Re: [dts] [PATCH V1] tests/queue_start_stop:Add network card type
  2019-06-25  6:20 [dts] [PATCH V1] tests/queue_start_stop:Add network card type changqingxwu
@ 2019-06-26  8:11 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-06-26  8:11 UTC (permalink / raw)
  To: Wu, ChangqingX, dts; +Cc: Wu, ChangqingX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of changqingxwu
> Sent: Tuesday, June 25, 2019 2:21 PM
> To: dts@dpdk.org
> Cc: Wu, ChangqingX <changqingx.wu@intel.com>
> Subject: [dts] [PATCH V1] tests/queue_start_stop:Add network card type
> 
> Signed-off-by: changqingxwu <changqingx.wu@intel.com>
> ---
>  tests/TestSuite_queue_start_stop.py | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_queue_start_stop.py
> b/tests/TestSuite_queue_start_stop.py
> index 34a2f41..e91ea91 100644
> --- a/tests/TestSuite_queue_start_stop.py
> +++ b/tests/TestSuite_queue_start_stop.py
> @@ -157,7 +157,10 @@ class TestQueueStartStop(TestCase):
>          except Exception, e:
>              raise IOError("queue start/stop forward failure: %s" % e)
> 
> -        self.verify("ports 0 queue 0 receive 4 packages" in out, "start queue
> revice package failed, out = %s"%out)
> +        if self.nic == "cavium_a063":
> +            self.verify("ports 0 queue 0 receive 4 packages" in out, "start queue
> revice package failed, out = %s"%out)
> +        else:
> +            self.verify("ports 0 queue 0 receive 1 packages\r\n"*4 in out, "start
> queue revice package failed, out = %s"%out)
> 
>          try:
>              # start tx queue test
> --
> 2.17.2


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

end of thread, other threads:[~2019-06-26  8:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25  6:20 [dts] [PATCH V1] tests/queue_start_stop:Add network card type changqingxwu
2019-06-26  8:11 ` Tu, Lijuan

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