test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/TestSuite_pmdpcap:Switching python3 xrange is replaced by range
  2021-01-11 14:07 [dts] [PATCH V1] tests/TestSuite_pmdpcap:Switching python3 xrange is replaced by range Chen, Lingli
@ 2021-01-11  5:40 ` Chen, LingliX
  2021-01-11  6:47   ` Zhao, HaiyangX
  2021-01-13  8:48 ` Tu, Lijuan
  1 sibling, 1 reply; 4+ messages in thread
From: Chen, LingliX @ 2021-01-11  5:40 UTC (permalink / raw)
  To: dts

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

Tested-by:  Chen, LingliX <linglix.chen@intel.com>

Regards,
Chen, LingliX

> -----Original Message-----
> From: Chen, Lingli [mailto:linglix.chen@intel.com]
> Sent: Monday, January 11, 2021 10:07 PM
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>; Chen
> Subject: [dts][PATCH V1] tests/TestSuite_pmdpcap:Switching python3 xrange
> is replaced by range

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

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

* Re: [dts] [PATCH V1] tests/TestSuite_pmdpcap:Switching python3 xrange is replaced by range
  2021-01-11  5:40 ` Chen, LingliX
@ 2021-01-11  6:47   ` Zhao, HaiyangX
  0 siblings, 0 replies; 4+ messages in thread
From: Zhao, HaiyangX @ 2021-01-11  6:47 UTC (permalink / raw)
  To: Chen, LingliX, dts

Acked-by: Haiyang Zhao <haiyangx.zhao@intel.com>

Best Regards,
Zhao Haiyang

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Chen, LingliX
> Sent: Monday, January 11, 2021 13:40
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/TestSuite_pmdpcap:Switching python3
> xrange is replaced by range

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

* [dts] [PATCH V1] tests/TestSuite_pmdpcap:Switching python3 xrange is replaced by range
@ 2021-01-11 14:07 Chen, Lingli
  2021-01-11  5:40 ` Chen, LingliX
  2021-01-13  8:48 ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: Chen, Lingli @ 2021-01-11 14:07 UTC (permalink / raw)
  To: dts; +Cc: Chen, Lingli, Chen

Switching python3 xrange is replaced by range

Signed-off-by: Chen, Lingli <linglix.chen@intel.com>
---
 tests/TestSuite_pmdpcap.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_pmdpcap.py b/tests/TestSuite_pmdpcap.py
index ed41082e..0913e9bf 100644
--- a/tests/TestSuite_pmdpcap.py
+++ b/tests/TestSuite_pmdpcap.py
@@ -113,7 +113,7 @@ class TestPmdPcap(TestCase):
         self.dut.send_expect('input=rdpcap("%s")' % in_pcap, '>>> ')
         self.dut.send_expect('output=rdpcap("%s")' % out_pcap, '>>> ')
         self.dut.send_expect(
-            'result=[input[i]==output[i] for i in xrange(len(input))]', '>>> ')
+            'result=[input[i]==output[i] for i in range(len(input))]', '>>> ')
         result = self.dut.send_expect('False in result', '>>> ')
         self.dut.send_expect('quit()', '# ')
 
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/TestSuite_pmdpcap:Switching python3 xrange is replaced by range
  2021-01-11 14:07 [dts] [PATCH V1] tests/TestSuite_pmdpcap:Switching python3 xrange is replaced by range Chen, Lingli
  2021-01-11  5:40 ` Chen, LingliX
@ 2021-01-13  8:48 ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2021-01-13  8:48 UTC (permalink / raw)
  To: Chen, LingliX, dts; +Cc: Chen, LingliX, Chen

> Subject: [dts] [PATCH V1] tests/TestSuite_pmdpcap:Switching python3 xrange
> is replaced by range
> 
> Switching python3 xrange is replaced by range
> 
> Signed-off-by: Chen, Lingli <linglix.chen@intel.com>

Applied, hope the subject is " tests/pmdpcap: switching python3 xrange is replaced by range" next time.

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

end of thread, other threads:[~2021-01-13  8:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 14:07 [dts] [PATCH V1] tests/TestSuite_pmdpcap:Switching python3 xrange is replaced by range Chen, Lingli
2021-01-11  5:40 ` Chen, LingliX
2021-01-11  6:47   ` Zhao, HaiyangX
2021-01-13  8:48 ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ https://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git