test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/floating_veb: reject space in pci id
@ 2020-05-21  9:31 Xie Wei
  2020-05-21  9:43 ` Xie, WeiX
  2020-05-29  8:35 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xie Wei @ 2020-05-21  9:31 UTC (permalink / raw)
  To: dts; +Cc: Xie Wei



Signed-off-by: Xie Wei <weix.xie@intel.com>
---
 tests/TestSuite_floating_veb.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_floating_veb.py b/tests/TestSuite_floating_veb.py
index 350d8fa..bf83cb5 100644
--- a/tests/TestSuite_floating_veb.py
+++ b/tests/TestSuite_floating_veb.py
@@ -357,7 +357,7 @@ class TestFloatingVEBSwitching(TestCase):
         """
         self.setup_env(driver=self.drivername, vf_num=4)
         # start PF
-        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 \"-w %s,enable_floating_veb=1,floating_veb_list=0;2-3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120)
+        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 -w \"%s,enable_floating_veb=1,floating_veb_list=0;2-3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120)
         self.dut.send_expect("port start all", "testpmd>")
         time.sleep(2)
         # VF1->VF0
@@ -486,7 +486,7 @@ class TestFloatingVEBSwitching(TestCase):
         """
         self.setup_env(driver=self.drivername, vf_num=4)
         # VF0->PF
-        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 \"-w %s,enable_floating_veb=1,floating_veb_list=0;3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120)
+        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 -w \"%s,enable_floating_veb=1,floating_veb_list=0;3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120)
         self.dut.send_expect("set fwd rxonly", "testpmd>")
         self.dut.send_expect("set promisc all off", "testpmd>")
         self.dut.send_expect("start", "testpmd>")
-- 
2.17.2


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

* Re: [dts] [PATCH V1] tests/floating_veb: reject space in pci id
  2020-05-21  9:31 [dts] [PATCH V1] tests/floating_veb: reject space in pci id Xie Wei
@ 2020-05-21  9:43 ` Xie, WeiX
  2020-05-29  8:35 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xie, WeiX @ 2020-05-21  9:43 UTC (permalink / raw)
  To: dts; +Cc: Xie, WeiX

[-- Attachment #1: Type: text/plain, Size: 2103 bytes --]

Tested-by:  Xie,WeiX < weix.xie@intel.com>

Regards,
Xie Wei


-----Original Message-----
From: Xie, WeiX 
Sent: Thursday, May 21, 2020 5:32 PM
To: dts@dpdk.org
Cc: Xie, WeiX <weix.xie@intel.com>
Subject: [dts][PATCH V1] tests/floating_veb: reject space in pci id



Signed-off-by: Xie Wei <weix.xie@intel.com>
---
 tests/TestSuite_floating_veb.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_floating_veb.py b/tests/TestSuite_floating_veb.py index 350d8fa..bf83cb5 100644
--- a/tests/TestSuite_floating_veb.py
+++ b/tests/TestSuite_floating_veb.py
@@ -357,7 +357,7 @@ class TestFloatingVEBSwitching(TestCase):
         """
         self.setup_env(driver=self.drivername, vf_num=4)
         # start PF
-        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 \"-w %s,enable_floating_veb=1,floating_veb_list=0;2-3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120)
+        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 
+ 1024,1024 -w \"%s,enable_floating_veb=1,floating_veb_list=0;2-3\" 
+ --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 
+ 120)
         self.dut.send_expect("port start all", "testpmd>")
         time.sleep(2)
         # VF1->VF0
@@ -486,7 +486,7 @@ class TestFloatingVEBSwitching(TestCase):
         """
         self.setup_env(driver=self.drivername, vf_num=4)
         # VF0->PF
-        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 1024,1024 \"-w %s,enable_floating_veb=1,floating_veb_list=0;3\" --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120)
+        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem 
+ 1024,1024 -w \"%s,enable_floating_veb=1,floating_veb_list=0;3\" 
+ --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 
+ 120)
         self.dut.send_expect("set fwd rxonly", "testpmd>")
         self.dut.send_expect("set promisc all off", "testpmd>")
         self.dut.send_expect("start", "testpmd>")
--
2.17.2


[-- Attachment #2: TestFloatingVEBSwitching.log --]
[-- Type: application/octet-stream, Size: 37498 bytes --]

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

* Re: [dts] [PATCH V1] tests/floating_veb: reject space in pci id
  2020-05-21  9:31 [dts] [PATCH V1] tests/floating_veb: reject space in pci id Xie Wei
  2020-05-21  9:43 ` Xie, WeiX
@ 2020-05-29  8:35 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-05-29  8:35 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xie Wei
> Sent: Thursday, May 21, 2020 5:32 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [PATCH V1] tests/floating_veb: reject space in pci id
> 
> 
> 
> Signed-off-by: Xie Wei <weix.xie@intel.com>
> ---
>  tests/TestSuite_floating_veb.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_floating_veb.py b/tests/TestSuite_floating_veb.py
> index 350d8fa..bf83cb5 100644
> --- a/tests/TestSuite_floating_veb.py
> +++ b/tests/TestSuite_floating_veb.py
> @@ -357,7 +357,7 @@ class TestFloatingVEBSwitching(TestCase):
>          """
>          self.setup_env(driver=self.drivername, vf_num=4)
>          # start PF
> -        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem
> 1024,1024 \"-w %s,enable_floating_veb=1,floating_veb_list=0;2-3\" --file-
> prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120)
> +        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem
> + 1024,1024 -w \"%s,enable_floating_veb=1,floating_veb_list=0;2-3\"
> + --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>",
> + 120)
>          self.dut.send_expect("port start all", "testpmd>")
>          time.sleep(2)
>          # VF1->VF0
> @@ -486,7 +486,7 @@ class TestFloatingVEBSwitching(TestCase):
>          """
>          self.setup_env(driver=self.drivername, vf_num=4)
>          # VF0->PF
> -        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem
> 1024,1024 \"-w %s,enable_floating_veb=1,floating_veb_list=0;3\" --file-
> prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>", 120)
> +        self.dut.send_expect("./%s/app/testpmd -c 0xf -n 4 --socket-mem
> + 1024,1024 -w \"%s,enable_floating_veb=1,floating_veb_list=0;3\"
> + --file-prefix=test1 -- -i" % (self.target, self.pf_pci), "testpmd>",
> + 120)
>          self.dut.send_expect("set fwd rxonly", "testpmd>")
>          self.dut.send_expect("set promisc all off", "testpmd>")
>          self.dut.send_expect("start", "testpmd>")
> --
> 2.17.2


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

end of thread, other threads:[~2020-05-29  8:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-21  9:31 [dts] [PATCH V1] tests/floating_veb: reject space in pci id Xie Wei
2020-05-21  9:43 ` Xie, WeiX
2020-05-29  8:35 ` 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).