test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list
@ 2020-05-19  8:48 xizhan4x
  2020-05-19  8:59 ` Zhang, XiX
  2020-05-20  2:56 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: xizhan4x @ 2020-05-19  8:48 UTC (permalink / raw)
  To: dts; +Cc: xizhan4x

test_positive use all test_list

Signed-off-by: xizhan4x <xix.zhang@intel.com>
---
 tests/TestSuite_multiple_pthread.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_multiple_pthread.py b/tests/TestSuite_multiple_pthread.py
index 8825628..83ab7bd 100644
--- a/tests/TestSuite_multiple_pthread.py
+++ b/tests/TestSuite_multiple_pthread.py
@@ -196,9 +196,8 @@ class TestMultiplePthread(TestCase):
                       "cpu_list":[n[1], n[2], n[3], n[5]],
                       "core_list":n[1:6]}
                      ]
-        params_list = random.sample(test_list, 1)
-        params = params_list[0]
-        self.multiple_pthread_test(params["lcores"], params["cpu_list"], params["core_list"])
+        for params in test_list:
+            self.multiple_pthread_test(params["lcores"], params["cpu_list"], params["core_list"])
 
     def test_negative(self):
         """
-- 
2.17.2


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

* Re: [dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list
  2020-05-19  8:48 [dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list xizhan4x
@ 2020-05-19  8:59 ` Zhang, XiX
  2020-05-20  2:56 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Zhang, XiX @ 2020-05-19  8:59 UTC (permalink / raw)
  To: dts

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

Tested-by:xix.zhang@intel.com

-----Original Message-----
From: Zhang, XiX 
Sent: Tuesday, May 19, 2020 4:49 PM
To: dts@dpdk.org
Cc: Zhang, XiX <xix.zhang@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_multiple_pthread:use all test_list

test_positive use all test_list

Signed-off-by: xizhan4x <xix.zhang@intel.com>
---
 tests/TestSuite_multiple_pthread.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_multiple_pthread.py b/tests/TestSuite_multiple_pthread.py
index 8825628..83ab7bd 100644
--- a/tests/TestSuite_multiple_pthread.py
+++ b/tests/TestSuite_multiple_pthread.py
@@ -196,9 +196,8 @@ class TestMultiplePthread(TestCase):
                       "cpu_list":[n[1], n[2], n[3], n[5]],
                       "core_list":n[1:6]}
                      ]
-        params_list = random.sample(test_list, 1)
-        params = params_list[0]
-        self.multiple_pthread_test(params["lcores"], params["cpu_list"], params["core_list"])
+        for params in test_list:
+            self.multiple_pthread_test(params["lcores"], params["cpu_list"], params["core_list"])
 
     def test_negative(self):
         """
-- 
2.17.2


[-- Attachment #2: 0001-tests-multiple_pthread-Adaptive-dpdk-update.patch --]
[-- Type: application/octet-stream, Size: 1360 bytes --]

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

* Re: [dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list
  2020-05-19  8:48 [dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list xizhan4x
  2020-05-19  8:59 ` Zhang, XiX
@ 2020-05-20  2:56 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-05-20  2:56 UTC (permalink / raw)
  To: Zhang, XiX, dts; +Cc: Zhang, XiX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xizhan4x
> Sent: Tuesday, May 19, 2020 4:49 PM
> To: dts@dpdk.org
> Cc: Zhang, XiX <xix.zhang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list
> 
> test_positive use all test_list
> 
> Signed-off-by: xizhan4x <xix.zhang@intel.com>
> ---
>  tests/TestSuite_multiple_pthread.py | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/TestSuite_multiple_pthread.py
> b/tests/TestSuite_multiple_pthread.py
> index 8825628..83ab7bd 100644
> --- a/tests/TestSuite_multiple_pthread.py
> +++ b/tests/TestSuite_multiple_pthread.py
> @@ -196,9 +196,8 @@ class TestMultiplePthread(TestCase):
>                        "cpu_list":[n[1], n[2], n[3], n[5]],
>                        "core_list":n[1:6]}
>                       ]
> -        params_list = random.sample(test_list, 1)
> -        params = params_list[0]
> -        self.multiple_pthread_test(params["lcores"], params["cpu_list"],
> params["core_list"])
> +        for params in test_list:
> +            self.multiple_pthread_test(params["lcores"], params["cpu_list"],
> params["core_list"])
> 
>      def test_negative(self):
>          """
> --
> 2.17.2


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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19  8:48 [dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list xizhan4x
2020-05-19  8:59 ` Zhang, XiX
2020-05-20  2:56 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://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/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


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