[dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list

Zhang, XiX xix.zhang at intel.com
Tue May 19 10:59:43 CEST 2020


Tested-by:xix.zhang at intel.com

-----Original Message-----
From: Zhang, XiX 
Sent: Tuesday, May 19, 2020 4:49 PM
To: dts at dpdk.org
Cc: Zhang, XiX <xix.zhang at 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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tests-multiple_pthread-Adaptive-dpdk-update.patch
Type: application/octet-stream
Size: 1360 bytes
Desc: 0001-tests-multiple_pthread-Adaptive-dpdk-update.patch
URL: <http://mails.dpdk.org/archives/dts/attachments/20200519/67851525/attachment.obj>


More information about the dts mailing list