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 9F2F1A0350; Wed, 1 Jul 2020 11:52:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5E1A31D14F; Wed, 1 Jul 2020 11:52:57 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 99B851D146 for ; Wed, 1 Jul 2020 11:52:56 +0200 (CEST) IronPort-SDR: iBHCh3IdRjIJXImtPgVpB0JsFA3PuBiao25te9ZMLKL1bm6g1AUGbuLMPT4XPf27ZWsQa39bu4 URVOXtzTVOPw== X-IronPort-AV: E=McAfee;i="6000,8403,9668"; a="148082245" X-IronPort-AV: E=Sophos;i="5.75,299,1589266800"; d="scan'208";a="148082245" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2020 02:52:54 -0700 IronPort-SDR: b7E5eIXVCf6XAFDWww0IEIeUm281yHFJArwEtCdvEAfeCgr3COwXrZo3MKw5axmCc5zBX0K+zQ xogzZGj78mJA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,299,1589266800"; d="scan'208";a="295510409" Received: from unknown (HELO xqm-virtio_tester.localdomain) ([10.240.183.52]) by orsmga002.jf.intel.com with ESMTP; 01 Jul 2020 02:52:53 -0700 From: Xiao Qimai To: dts@dpdk.org Cc: Xiao Qimai Date: Wed, 1 Jul 2020 17:44:33 +0800 Message-Id: <1593596673-51488-1-git-send-email-qimaix.xiao@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1]framework/project_dpdk: ignore make warning info 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" Signed-off-by: Xiao Qimai --- 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 b8cb2bd..c0dfd59 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -231,12 +231,12 @@ class DPDKdut(Dut): self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#") # compile - out = self.send_expect("make -j %d install T=%s %s" % + out = self.send_expect("make -j %d install T=%s %s MAKE_PAUSE=n" % (self.number_of_cores, target, extra_options), "# ", 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 %s" % (target, extra_options), "# ", build_time*4) + out = self.send_expect("make install T=%s %s MAKE_PAUSE=n" % (target, extra_options), "# ", build_time*4) assert ("Error" not in out), "Compilation error..." assert ("No rule to make" not in out), "No rule to make error..." @@ -252,13 +252,13 @@ class DPDKdut(Dut): self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#") build_time = 180 # compile - out = self.send_expect("make -j %d install T=%s" % (self.number_of_cores, + out = self.send_expect("make -j %d install T=%s MAKE_PAUSE=n" % (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" % target, + out = self.send_expect("make install T=%s MAKE_PAUSE=n" % target, "#", build_time) assert ("Error" not in out), "Compilation error..." -- 1.8.3.1