[dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list
xizhan4x
xix.zhang at intel.com
Tue May 19 10:48:52 CEST 2020
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
More information about the dts
mailing list