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 A2109A0093; Wed, 20 May 2020 04:56:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 549181D172; Wed, 20 May 2020 04:56:50 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 9ACB21D16F for ; Wed, 20 May 2020 04:56:48 +0200 (CEST) IronPort-SDR: bQ4g99d0s/Nd65vTvlI4eHP28DANsESZe5w2QVTB17rtlwLZ66wy4EnfvPUd6F8OeXDNM3iDMG vlDJYmHAAdBA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 May 2020 19:56:47 -0700 IronPort-SDR: 7Fx6X+e+1ZvxdWOFRZhoEmVSH8OrvXaAgHCfmRJETdxe5hn/mI1vrRAB8qMXf1iaohcqucq0ix rTTvcpkl0q6Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,412,1583222400"; d="scan'208";a="289194867" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 19 May 2020 19:56:47 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 19 May 2020 19:56:47 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 19 May 2020 19:56:46 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 19 May 2020 19:56:46 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.178]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.181]) with mapi id 14.03.0439.000; Wed, 20 May 2020 10:56:44 +0800 From: "Tu, Lijuan" To: "Zhang, XiX" , "dts@dpdk.org" CC: "Zhang, XiX" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_list Thread-Index: AQHWLbt9NAi6G6c1rkGc0+R4duaGo6iwSRZw Date: Wed, 20 May 2020 02:56:43 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC41BB1@SHSMSX101.ccr.corp.intel.com> References: <1589878132-53738-1-git-send-email-xix.zhang@intel.com> In-Reply-To: <1589878132-53738-1-git-send-email-xix.zhang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" 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 > Subject: [dts] [PATCH V1] tests/TestSuite_multiple_pthread:use all test_l= ist >=20 > test_positive use all test_list >=20 > Signed-off-by: xizhan4x > --- > tests/TestSuite_multiple_pthread.py | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) >=20 > 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 =3D random.sample(test_list, 1) > - params =3D 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_lis= t"], > params["core_list"]) >=20 > def test_negative(self): > """ > -- > 2.17.2