From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 8CBDF5320 for ; Mon, 6 Jun 2016 08:59:38 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 05 Jun 2016 23:59:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,426,1459839600"; d="scan'208";a="822411975" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by orsmga003.jf.intel.com with ESMTP; 05 Jun 2016 23:59:36 -0700 From: yongjie To: dts@dpdk.org Cc: yongjie Date: Mon, 6 Jun 2016 14:55:14 +0800 Message-Id: <1465196114-10320-1-git-send-email-yongjiex.gu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH] enlarge build time when compile icc targets 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: Mon, 06 Jun 2016 06:59:38 -0000 Dts reported timeout error when compile icc on fedora23/22. Enlarge build time when compile icc targets. Signed-off-by: yongjie --- framework/project_dpdk.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index feaebc8..2560bd7 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -165,11 +165,14 @@ class DPDKdut(Dut): """ Build DPDK source code on linux with specified target. """ + build_time = 300 + if "icc" in target: + build_time = 900 # clean all self.send_expect("rm -rf " + target, "#") # compile - out = self.send_expect("make -j install T=%s %s" % (target, extra_options), "# ", 300) + out = self.send_expect("make -j install T=%s %s" % (target, extra_options), "# ", build_time) if("Error" in out or "No rule to make" in out): self.logger.error("ERROR - try without '-j'") -- 1.9.3