From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1BC2FA2EF9 for ; Mon, 16 Sep 2019 04:32:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E54621C133; Mon, 16 Sep 2019 04:32:50 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 987AD1C10D for ; Mon, 16 Sep 2019 04:32:49 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Sep 2019 19:32:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,510,1559545200"; d="scan'208";a="216058770" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 15 Sep 2019 19:32:48 -0700 From: changqingxwu To: dts@dpdk.org Cc: box.c.chen@intel.com, changqingxwu Date: Mon, 16 Sep 2019 10:37:18 +0800 Message-Id: <1568601438-1289-1-git-send-email-changqingx.wu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] framework/delete specify compiler gcc48 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" do not need specify the gcc48 when compiling dpdk or app with clang on freebsd, otherwise will get compile error Signed-off-by: changqingxwu --- framework/project_dpdk.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index f75a4b9..ddad526 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -243,15 +243,15 @@ 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 + build_time = 180 # compile - out = self.send_expect("make -j %d install T=%s CC=gcc48" % (self.number_of_cores, + out = self.send_expect("make -j %d install T=%s" % (self.number_of_cores, target), "#", build_time) if("Error" in out or "No rule to make" in out): 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, + out = self.send_expect("make install T=%s" % target, "#", build_time) assert ("Error" not in out), "Compilation error..." @@ -386,7 +386,7 @@ 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' , "#") - return self.send_expect("make -j %d -C %s %s CC=gcc48" % (self.number_of_cores, + return self.send_expect("make -j %d -C %s %s" % (self.number_of_cores, folder, extra_options), "# ", 180) -- 2.17.2