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 C33DBA09DE; Fri, 13 Nov 2020 11:11:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 80192C872; Fri, 13 Nov 2020 11:11:40 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 7764AC86E for ; Fri, 13 Nov 2020 11:11:37 +0100 (CET) IronPort-SDR: q/oC6Jyd4gw0Yi7EWlJ49NGOhV+BKozyJYyyYWKUQafcCMQI05yVx3T9udPDHCbufv2CdoAg7W zejh8CEtgC7w== X-IronPort-AV: E=McAfee;i="6000,8403,9803"; a="166944166" X-IronPort-AV: E=Sophos;i="5.77,475,1596524400"; d="scan'208";a="166944166" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Nov 2020 02:11:35 -0800 IronPort-SDR: Qgmszq/Q39YHuiQAN3/p+WGycawKwfEcQhHcs8IDw45bCJXqklUU6MzR6Stz9dV+rpxJs+qQMk BfrCWssv7dxg== X-IronPort-AV: E=Sophos;i="5.77,475,1596524400"; d="scan'208";a="474612975" Received: from unknown (HELO localhost.localdomain) ([10.240.183.57]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Nov 2020 02:11:33 -0800 From: Haiyang Zhao To: dts@dpdk.org, lijuan.tu@intel.com Cc: Haiyang Zhao Date: Fri, 13 Nov 2020 18:06:04 +0800 Message-Id: <20201113100605.20669-2-haiyangx.zhao@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201113100605.20669-1-haiyangx.zhao@intel.com> References: <20201113100605.20669-1-haiyangx.zhao@intel.com> Subject: [dts] [PATCH V1 1/2] framework/project_dpdk: drop the detailed errors when complie failed 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" the detailed compiled info is too long and will be saved into log file, so there's no need to throw it in assert exception. Signed-off-by: Haiyang Zhao --- 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 a41b3df..fbbc78d 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -314,7 +314,7 @@ class DPDKdut(Dut): assert ("FAILED" not in out), "meson setup failed ..." out = self.send_expect("ninja -C %s -j %d" % (target, self.number_of_cores), "# ", build_time) - assert ("FAILED" not in out), "ninja complie failed ...\r\n %s" % out + assert ("FAILED" not in out), "ninja complie failed ..." # copy kmod file to the folder same as make out = self.send_expect("find ./%s/kernel/ -name *.ko" % target, "# ", verify=True) @@ -555,9 +555,9 @@ class DPDKdut(Dut): else: example = '/'.join(folder_info[folder_info.index('examples')+1:]) out = self.send_expect("meson configure -Dexamples=%s %s" % (example, self.target), "# ") - assert ("FAILED" not in out), "Compilation error... \r\n %s" % out + assert ("FAILED" not in out), "Compilation error..." out = self.send_expect("ninja -C %s" % self.target, "# ", timeout) - assert ("FAILED" not in out), "Compilation error... \r\n %s" % out + assert ("FAILED" not in out), "Compilation error..." # verify the app build in the config path if example != 'all': -- 2.17.1