From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 499BDA0C44; Mon, 12 Apr 2021 11:05:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 38703141051; Mon, 12 Apr 2021 11:05:57 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 54E36141036 for ; Mon, 12 Apr 2021 11:05:55 +0200 (CEST) IronPort-SDR: w3Qd1U2ADO6xX5XcpCXgH41B7BdF553YopAtgipg+LsxB/TSmgu1Bc6t1yIy1Aq+EKIZa0J4n8 pz1cJrqLKdfw== X-IronPort-AV: E=McAfee;i="6000,8403,9951"; a="173638530" X-IronPort-AV: E=Sophos;i="5.82,216,1613462400"; d="scan'208";a="173638530" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2021 02:05:53 -0700 IronPort-SDR: qE4Qi2dsBnza7tEEwy8wDfkJxRmV6pP2pjXGJn/zsff++ULtI9WLf/DyfEApVNbP4041l3Pptm XubxHlirBi3A== X-IronPort-AV: E=Sophos;i="5.82,216,1613462400"; d="scan'208";a="423711180" Received: from unknown (HELO localhost.localdomain) ([10.240.183.77]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2021 02:05:52 -0700 From: Bo Chen To: dts@dpdk.org Cc: Bo Chen Date: Mon, 12 Apr 2021 17:08:04 +0000 Message-Id: <20210412170804.2449-1-BoX.C.Chen@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1] complete DPDK 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 contains '# ', enhanced echo matching. Signed-off-by: Bo Chen --- framework/project_dpdk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index af74414..5a7e448 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -332,10 +332,10 @@ class DPDKdut(Dut): self.send_expect("rm -rf " + target, "#") out = self.send_expect("CC=%s meson -Denable_kmods=True -Dlibdir=lib %s --default-library=%s %s" % ( - toolchain, extra_options, default_library, target), "# ", build_time) + toolchain, extra_options, default_library, target), "[~|~\]]# ", build_time) assert ("FAILED" not in out), "meson setup failed ..." - out = self.send_expect("ninja -C %s" % target, "# ", build_time) + out = self.send_expect("ninja -C %s" % target, "[~|~\]]# ", build_time) assert ("FAILED" not in out), "ninja complie failed ..." # copy kmod file to the folder same as make -- 2.31.1