From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id C15F48DB4 for ; Wed, 2 Dec 2015 09:25:32 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 02 Dec 2015 00:25:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,372,1444719600"; d="scan'208";a="864832841" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by fmsmga002.fm.intel.com with ESMTP; 02 Dec 2015 00:25:17 -0800 From: Lijuan Tu To: dts@dpdk.org Date: Wed, 2 Dec 2015 16:20:49 +0800 Message-Id: <1449044449-5603-1-git-send-email-lijuanx.a.tu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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: Wed, 02 Dec 2015 08:25:33 -0000 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 -- 1.9.1