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 4E029137C for ; Tue, 27 Sep 2016 10:26:31 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 27 Sep 2016 01:26:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,404,1470726000"; d="scan'208";a="1037016505" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 27 Sep 2016 01:26:30 -0700 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Tue, 27 Sep 2016 16:28:05 +0800 Message-Id: <1474964885-29674-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] fix freebsd and icc app compile timeout 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: Tue, 27 Sep 2016 08:26:32 -0000 icc and freebsd compile app need more time Signed-off-by: xu,huilong --- framework/project_dpdk.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index 803585d..20f1404 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -314,9 +314,14 @@ class DPDKdut(Dut): """ Build dpdk sample applications on linux. """ + # icc compile need more time + if 'icc' in self.target: + timeout = 300 + else: + timeout = 90 self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.o' , "#") return self.send_expect("make -j -C %s %s" % (folder, extra_options), - "# ", 90) + "# ", timeout) def build_dpdk_apps_freebsd(self, folder, extra_options): """ @@ -324,7 +329,7 @@ class DPDKdut(Dut): """ self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.o' , "#") return self.send_expect("make -j -C %s %s CC=gcc48" % (folder, extra_options), - "# ", 90) + "# ", 180) def get_blacklist_string(self, target, nic): """ -- 1.9.3