From patchwork Tue Apr 13 12:00:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 91165 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B58D9A0524; Tue, 13 Apr 2021 05:25:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B02A41609F1; Tue, 13 Apr 2021 05:25:25 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 9218F1609EE for ; Tue, 13 Apr 2021 05:25:24 +0200 (CEST) IronPort-SDR: P20Cjwl5DnLGIJHNFFbORz7+TP8AGy1OJ/p2MhHqkdVkkA80wsqyrJgGsau3iF1VXV7Tweu4VE VkS0xxbZd2jw== X-IronPort-AV: E=McAfee;i="6200,9189,9952"; a="181848700" X-IronPort-AV: E=Sophos;i="5.82,218,1613462400"; d="scan'208";a="181848700" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2021 20:25:23 -0700 IronPort-SDR: HaoIsRQi6Xzrt3Pz7hZCNsP+dKFiICbg10mPSvh/y6p8dZ0VqrFRiX/YactAgDdec7LLBp11Y7 HmIxo4X4DQ5g== X-IronPort-AV: E=Sophos;i="5.82,218,1613462400"; d="scan'208";a="417675767" Received: from unknown (HELO DPDK-CVL-tetser102.icx.intel.com) ([10.240.183.102]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2021 20:25:21 -0700 From: Chen Lingli To: dts@dpdk.org Cc: Chen Lingli Date: Tue, 13 Apr 2021 12:00:05 +0000 Message-Id: <20210413120005.3858-1-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] framework/project_dpdk: complete dpdk build apps match enhancement X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 compilation log of DPDK build app contains '# ', enhanced echo matching. Signed-off-by: Chen Lingli Tested-by: Chen Lingli Acked-by: Haiyang Zhao --- framework/project_dpdk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index 0edb38a6..2975e2ef 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -578,7 +578,7 @@ class DPDKdut(Dut): 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..." - out = self.send_expect("ninja -C %s" % self.target, "# ", timeout) + out = self.send_expect("ninja -C %s" % self.target, "[~|~\]]# ", timeout) assert ("FAILED" not in out), "Compilation error..." # verify the app build in the config path