From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C77F45683 for ; Fri, 4 Dec 2015 01:54:18 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 03 Dec 2015 16:54:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,378,1444719600"; d="scan'208";a="833916374" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga001.jf.intel.com with ESMTP; 03 Dec 2015 16:54:17 -0800 Message-ID: <5660E43C.2000101@intel.com> Date: Fri, 04 Dec 2015 08:54:20 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Lijuan Tu , dts@dpdk.org References: <1449044449-5603-1-git-send-email-lijuanx.a.tu@intel.com> In-Reply-To: <1449044449-5603-1-git-send-email-lijuanx.a.tu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH]tests cmdline, unit eal: extend ICC compilation time 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: , X-List-Received-Date: Fri, 04 Dec 2015 00:54:19 -0000 Applied. Thanks. On 12/02/2015 04:20 PM, Lijuan Tu wrote: > Signed-off-by: Lijuan Tu > --- > tests/TestSuite_unit_tests_cmdline.py | 6 +++++- > tests/TestSuite_unit_tests_eal.py | 6 +++++- > 2 files changed, 10 insertions(+), 2 deletions(-) > > diff --git a/tests/TestSuite_unit_tests_cmdline.py b/tests/TestSuite_unit_tests_cmdline.py > index 3ece175..e3a29ee 100644 > --- a/tests/TestSuite_unit_tests_cmdline.py > +++ b/tests/TestSuite_unit_tests_cmdline.py > @@ -56,7 +56,11 @@ class TestUnitTestsCmdline(TestCase): > """ > Run at the start of each test suite. > """ > - out = self.dut.build_dpdk_apps('./app/test/') > + # icc compilation cost long long time. > + if "icc" in self.target: > + out = self.dut.send_expect("make -j -C ./app/test/", "# ", 300) > + else: > + out = self.dut.build_dpdk_apps('./app/test/') > self.verify('make: Leaving directory' in out, "Compilation failed") > > def set_up(self): > diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py > index 040b3b9..663e961 100644 > --- a/tests/TestSuite_unit_tests_eal.py > +++ b/tests/TestSuite_unit_tests_eal.py > @@ -30,7 +30,11 @@ class TestUnitTestsEal(TestCase): > """ > Run at the start of each test suite. > """ > - out = self.dut.build_dpdk_apps('./app/test/') > + # icc compilation cost long long time. > + if "icc" in self.target: > + out = self.dut.send_expect("make -j -C ./app/test/", "# ", 300) > + else: > + out = self.dut.build_dpdk_apps('./app/test/') > self.verify('make: Leaving directory' in out, "Compilation failed") > [arch, machine, self.env, toolchain] = self.target.split('-') > self.start_test_time = 60