From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0FE70A0093; Tue, 19 May 2020 10:56:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 05E641D55C; Tue, 19 May 2020 10:56:58 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id A70F11D37E for ; Tue, 19 May 2020 10:56:56 +0200 (CEST) IronPort-SDR: MVwVJQL1Mke4pEnAeoq28VXMnqcu5pNzozng5EcJnoyRc6GpZmLSNb2Z9quTQoJH+Xqy/SRgVB KvUU8167PqxA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2020 01:56:55 -0700 IronPort-SDR: S1DqJU46mox6o0CtJKJqyU5vRQizD9Nl748eNI6XCaxLJCUGQV8Q11AuVe1JnBGs/PpfRHyVvw jTB/KKDY63tw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,409,1583222400"; d="scan'208";a="282261940" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.183.135]) by orsmga002.jf.intel.com with ESMTP; 19 May 2020 01:56:53 -0700 From: xizhan4x To: dts@dpdk.org Cc: xizhan4x Date: Tue, 19 May 2020 16:48:52 +0800 Message-Id: <1589878132-53738-1-git-send-email-xix.zhang@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" test_positive use all test_list Signed-off-by: xizhan4x --- 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