From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 5DAD1108A for ; Mon, 6 Mar 2017 03:11:56 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP; 05 Mar 2017 18:11:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,251,1484035200"; d="scan'208";a="1118819768" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 05 Mar 2017 18:11:54 -0800 From: "xu,huilong" To: dts@dpdk.org Cc: "xu,huilong" Date: Mon, 6 Mar 2017 10:13:18 +0800 Message-Id: <1488766398-5314-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] define build_time in freebsd when compile dpdk 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 Mar 2017 02:11:56 -0000 Signed-off-by: xu,huilong --- framework/project_dpdk.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index 7a4e4f7..3b91dd6 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -207,11 +207,11 @@ class DPDKdut(Dut): self.send_expect("rm -rf %s" % r'./app/test/test_resource_c.res.o' , "#") self.send_expect("rm -rf %s" % r'./app/test/test_resource_tar.res.o' , "#") self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#") - + build_time = 120 # compile out = self.send_expect("make -j %d install T=%s CC=gcc48" % (self.number_of_cores, target), - "#", 120) + "#", build_time) #should not check test app compile status, because if test compile fail, #all unit test can't exec, but others case will exec sucessfull self.send_expect("make -j -C test/ CC=gcc48", "# ", build_time) @@ -224,7 +224,7 @@ class DPDKdut(Dut): self.logger.error("ERROR - try without '-j'") # if Error try to execute make without -j option out = self.send_expect("make install T=%s CC=gcc48" % target, - "#", 120) + "#", build_time) assert ("Error" not in out), "Compilation error..." assert ("No rule to make" not in out), "No rule to make error..." -- 1.9.3