test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3
@ 2020-05-08  4:54 Jiang, YuX
  2020-05-08  5:07 ` Jiang, YuX
  2020-05-12  7:33 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Jiang, YuX @ 2020-05-08  4:54 UTC (permalink / raw)
  To: dts; +Cc: Jiang, YuX

From: "Jiang, YuX" <yux.jiang@intel.com>

Specify byte type in py3

Signed-off-by: Jiang, YuX <yux.jiang@intel.com>
---
 tests/TestSuite_link_flowctrl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
index ed89162..ee190d0 100644
--- a/tests/TestSuite_link_flowctrl.py
+++ b/tests/TestSuite_link_flowctrl.py
@@ -52,7 +52,7 @@ class TestLinkFlowctrl(TestCase):
     pause_frame_control = "\\x00\\xFF"
     pause_frame_paddign = "\\x00" * 42
 
-    pause_frame = '[Ether(src="%s",dst="%s",type=%s)/("%s%s%s")]'
+    pause_frame = '[Ether(src="%s",dst="%s",type=%s)/(b"%s%s%s")]'
 
     frames_to_sent = 12
 
-- 
2.7.4


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

* Re: [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3
  2020-05-08  4:54 [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3 Jiang, YuX
@ 2020-05-08  5:07 ` Jiang, YuX
  2020-05-12  7:33 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Jiang, YuX @ 2020-05-08  5:07 UTC (permalink / raw)
  To: dts

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

Tested-by: Jiang, YuX <yux.jiang@intel.com>

-----Original Message-----
From: Jiang, YuX 
Sent: Friday, May 8, 2020 12:54 PM
To: dts@dpdk.org
Cc: Jiang, YuX <yux.jiang@intel.com>
Subject: [dts][PATCH V1] tests/link_flowctrl: fix to support byte type for py3

From: "Jiang, YuX" <yux.jiang@intel.com>

Specify byte type in py3

Signed-off-by: Jiang, YuX <yux.jiang@intel.com>
---
 tests/TestSuite_link_flowctrl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
index ed89162..ee190d0 100644
--- a/tests/TestSuite_link_flowctrl.py
+++ b/tests/TestSuite_link_flowctrl.py
@@ -52,7 +52,7 @@ class TestLinkFlowctrl(TestCase):
     pause_frame_control = "\\x00\\xFF"
     pause_frame_paddign = "\\x00" * 42
 
-    pause_frame = '[Ether(src="%s",dst="%s",type=%s)/("%s%s%s")]'
+    pause_frame = '[Ether(src="%s",dst="%s",type=%s)/(b"%s%s%s")]'
 
     frames_to_sent = 12
 
-- 
2.7.4


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

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

* Re: [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3
  2020-05-08  4:54 [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3 Jiang, YuX
  2020-05-08  5:07 ` Jiang, YuX
@ 2020-05-12  7:33 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-05-12  7:33 UTC (permalink / raw)
  To: Jiang, YuX, dts; +Cc: Jiang, YuX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Jiang, YuX
> Sent: Friday, May 8, 2020 12:54 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3
> 
> From: "Jiang, YuX" <yux.jiang@intel.com>
> 
> Specify byte type in py3
> 
> Signed-off-by: Jiang, YuX <yux.jiang@intel.com>
> ---
>  tests/TestSuite_link_flowctrl.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_link_flowctrl.py b/tests/TestSuite_link_flowctrl.py
> index ed89162..ee190d0 100644
> --- a/tests/TestSuite_link_flowctrl.py
> +++ b/tests/TestSuite_link_flowctrl.py
> @@ -52,7 +52,7 @@ class TestLinkFlowctrl(TestCase):
>      pause_frame_control = "\\x00\\xFF"
>      pause_frame_paddign = "\\x00" * 42
> 
> -    pause_frame = '[Ether(src="%s",dst="%s",type=%s)/("%s%s%s")]'
> +    pause_frame = '[Ether(src="%s",dst="%s",type=%s)/(b"%s%s%s")]'
> 
>      frames_to_sent = 12
> 
> --
> 2.7.4


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

end of thread, other threads:[~2020-05-12  7:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08  4:54 [dts] [PATCH V1] tests/link_flowctrl: fix to support byte type for py3 Jiang, YuX
2020-05-08  5:07 ` Jiang, YuX
2020-05-12  7:33 ` 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).