test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] update ring pmd unit test case
@ 2016-09-21  2:11 xu,huilong
  2016-09-21  7:38 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: xu,huilong @ 2016-09-21  2:11 UTC (permalink / raw)
  To: dts; +Cc: xu,huilong

ring pmd unit test device name chaned by development

Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
 test_plans/unit_tests_ringpmd_test_plan.rst | 4 ++--
 tests/TestSuite_unit_tests_ringpmd.py       | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test_plans/unit_tests_ringpmd_test_plan.rst b/test_plans/unit_tests_ringpmd_test_plan.rst
index 31f703b..7ffba8b 100644
--- a/test_plans/unit_tests_ringpmd_test_plan.rst
+++ b/test_plans/unit_tests_ringpmd_test_plan.rst
@@ -52,8 +52,8 @@ virtual ethernet devices with full rx&tx functions.
 The steps to run the unit test manually are as follow::
   
   # make -C ./app/test/
-  # ./app/test/test -n 1 -c ffff --vdev='eth_ring0,nodeaction=:0:CREATE' 
-      --vdev='eth_ring1,nodeaction=:0:CREATE'  --vdev='eth ring2,nodeaction=:0:CREATE'
+  # ./app/test/test -n 1 -c ffff --vdev='net_ring0' 
+      --vdev='net_ring1'  
   RTE>> ring_pmd_autotest
 
 The final output of the test has to be "Test OK"
diff --git a/tests/TestSuite_unit_tests_ringpmd.py b/tests/TestSuite_unit_tests_ringpmd.py
index 2c83bcd..b6d21bb 100644
--- a/tests/TestSuite_unit_tests_ringpmd.py
+++ b/tests/TestSuite_unit_tests_ringpmd.py
@@ -69,7 +69,7 @@ class TestUnitTestsRingPmd(TestCase):
         """
         Run Inter-VM share memory test.
         """
-        dev_str = "--vdev=eth_ring0 --vdev=eth_ring1"
+        dev_str = "--vdev=net_ring0 --vdev=net_ring1"
 
         self.dut.send_expect("./%s/app/test -n 1 -c ffff" % self.target, "R.*T.*E.*>.*>", 10)
         out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120)
-- 
1.9.3

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

* Re: [dts] [PATCH V1] update ring pmd unit test case
  2016-09-21  2:11 [dts] [PATCH V1] update ring pmd unit test case xu,huilong
@ 2016-09-21  7:38 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2016-09-21  7:38 UTC (permalink / raw)
  To: xu,huilong, dts

Applied, please pay more attention to your comment. It contains of spell 
issue.

On 09/21/2016 10:11 AM, xu,huilong wrote:
> ring pmd unit test device name chaned by development
>
> Signed-off-by: xu,huilong <huilongx.xu@intel.com>
> ---
>   test_plans/unit_tests_ringpmd_test_plan.rst | 4 ++--
>   tests/TestSuite_unit_tests_ringpmd.py       | 2 +-
>   2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/test_plans/unit_tests_ringpmd_test_plan.rst b/test_plans/unit_tests_ringpmd_test_plan.rst
> index 31f703b..7ffba8b 100644
> --- a/test_plans/unit_tests_ringpmd_test_plan.rst
> +++ b/test_plans/unit_tests_ringpmd_test_plan.rst
> @@ -52,8 +52,8 @@ virtual ethernet devices with full rx&tx functions.
>   The steps to run the unit test manually are as follow::
>     
>     # make -C ./app/test/
> -  # ./app/test/test -n 1 -c ffff --vdev='eth_ring0,nodeaction=:0:CREATE'
> -      --vdev='eth_ring1,nodeaction=:0:CREATE'  --vdev='eth ring2,nodeaction=:0:CREATE'
> +  # ./app/test/test -n 1 -c ffff --vdev='net_ring0'
> +      --vdev='net_ring1'
>     RTE>> ring_pmd_autotest
>   
>   The final output of the test has to be "Test OK"
> diff --git a/tests/TestSuite_unit_tests_ringpmd.py b/tests/TestSuite_unit_tests_ringpmd.py
> index 2c83bcd..b6d21bb 100644
> --- a/tests/TestSuite_unit_tests_ringpmd.py
> +++ b/tests/TestSuite_unit_tests_ringpmd.py
> @@ -69,7 +69,7 @@ class TestUnitTestsRingPmd(TestCase):
>           """
>           Run Inter-VM share memory test.
>           """
> -        dev_str = "--vdev=eth_ring0 --vdev=eth_ring1"
> +        dev_str = "--vdev=net_ring0 --vdev=net_ring1"
>   
>           self.dut.send_expect("./%s/app/test -n 1 -c ffff" % self.target, "R.*T.*E.*>.*>", 10)
>           out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120)

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-21  2:11 [dts] [PATCH V1] update ring pmd unit test case xu,huilong
2016-09-21  7:38 ` 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).