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 164C2A0487 for ; Wed, 3 Jul 2019 07:52:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0D4074C8F; Wed, 3 Jul 2019 07:52:53 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A2FC837AF for ; Wed, 3 Jul 2019 07:52:50 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2019 22:52:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,446,1557212400"; d="scan'208";a="154650062" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga007.jf.intel.com with ESMTP; 02 Jul 2019 22:52:49 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 22:52:49 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 22:52:48 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.134]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.162]) with mapi id 14.03.0439.000; Wed, 3 Jul 2019 13:52:47 +0800 From: "Tu, Lijuan" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Li, WenjieX A" Thread-Topic: [dts] [PATCH V1] tests/unit_test_loopback: add '-j' option to 'make' Thread-Index: AQHVL989laBcAMF5fEiOdNqsEpJGaaa4Z1BA Date: Wed, 3 Jul 2019 05:52:46 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAD9297@SHSMSX101.ccr.corp.intel.com> References: <1561998570-8839-1-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1561998570-8839-1-git-send-email-wenjiex.a.li@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.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDZmY2JlM2YtMGFkMi00NzU2LWI1NDUtNDFiMTAzMDE0ZTZjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiakU4YXNHcjdmUXZSeVJZZjZ6cVY2a0Q2XC9Wa3R6a2Jqem56cjF1a1hOdk1nUlNoODZDdDBIQmdYTU1CWEl0am0ifQ== 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/unit_test_loopback: add '-j' option to 'make' 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 Wenjie Li > Sent: Tuesday, July 2, 2019 12:30 AM > To: dts@dpdk.org > Cc: Li, WenjieX A > Subject: [dts] [PATCH V1] tests/unit_test_loopback: add '-j' option to 'm= ake' >=20 > "make" takes more time, sometimes it is over 120 seconds. > Using "make -j" could save time. >=20 > Signed-off-by: Wenjie Li > --- > tests/TestSuite_unit_tests_loopback.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_unit_tests_loopback.py > b/tests/TestSuite_unit_tests_loopback.py > index ad49e8a..50533a6 100644 > --- a/tests/TestSuite_unit_tests_loopback.py > +++ b/tests/TestSuite_unit_tests_loopback.py > @@ -92,7 +92,7 @@ class TestUnitTestsLoopback(TestCase): > """ > self.dut.send_expect("sed -i -e 's/lpbk_mode =3D 0/lpbk_mode =3D= 1/' > app/test/test_pmd_perf.c", "# ", 30) > self.dut.send_expect("cd app/test", "# ") > - self.dut.send_expect("make", "# ", 120) > + self.dut.send_expect("make -j", "# ", 120) > self.dut.send_expect("cd /root/dpdk", "# ") >=20 > self.tester.send_expect("rm -rf ./getPackageByTcpdump.cap", "#")= @@ - > 113,7 +113,7 @@ class TestUnitTestsLoopback(TestCase): > """ > self.dut.send_expect("sed -i -e 's/lpbk_mode =3D 1/lpbk_mode =3D= 0/' > app/test/test_pmd_perf.c", "# ", 30) > self.dut.send_expect("cd app/test", "# ") > - self.dut.send_expect("make", "# ", 120) > + self.dut.send_expect("make -j", "# ", 120) > self.dut.send_expect("cd /root/dpdk", "# ") >=20 > self.tester.send_expect("rm -rf ./getPackageByTcpdump.cap", "#")= @@ - > 140,6 +140,6 @@ class TestUnitTestsLoopback(TestCase): > self.dut.send_expect("sed -i -e 's/lpbk_mode =3D 0/lpbk_mode =3D= 1/' > app/test/test_pmd_perf.c", "# ", 30) > self.dut.send_expect("sed -i -e 's/#define MAX_TRAFFIC_BURST > 32/#define MAX_TRAFFIC_BURST %s/' app/test/test_pmd_perf.c" = % > self.max_traffic_burst, "# ", 30) > self.dut.send_expect("cd app/test", "# ") > - self.dut.send_expect("make", "# ", 120) > + self.dut.send_expect("make -j", "# ", 120) > self.dut.send_expect("cd /root/dpdk", "# ") > self.dut.kill_all() > -- > 2.17.1