From patchwork Thu Apr 15 12:04:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Pattan, Reshma" X-Patchwork-Id: 91575 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 08502A0C3F; Thu, 15 Apr 2021 14:04:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F178E16221E; Thu, 15 Apr 2021 14:04:37 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 27EB716221D for ; Thu, 15 Apr 2021 14:04:35 +0200 (CEST) IronPort-SDR: MHUzRxbDv1uyZ3pkPCqGEyqLZ+A5Emb8W3hVHPYRYYE+ERpZLIL0WB56zyEce9ibsMSs/sWhuC 5vod9M88eOgg== X-IronPort-AV: E=McAfee;i="6200,9189,9954"; a="194950541" X-IronPort-AV: E=Sophos;i="5.82,223,1613462400"; d="scan'208";a="194950541" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2021 05:04:28 -0700 IronPort-SDR: Jbny+/Ui8FtpaaR+pjoOJnTD/kyhsWTxFatlWJGeoR/qFSoXSe9FHqRuGt8clPTbpgqcCx/8JE P85tHON6krKg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,223,1613462400"; d="scan'208";a="451108052" Received: from silpixa00400215.ir.intel.com (HELO silpixa00400215.ger.corp.intel.com) ([10.237.223.24]) by FMSMGA003.fm.intel.com with ESMTP; 15 Apr 2021 05:04:27 -0700 From: Reshma Pattan To: dts@dpdk.org Cc: Reshma Pattan , BoX.C.Chen@intel.com, ZbigniewX.Sikora@intel.com Date: Thu, 15 Apr 2021 13:04:24 +0100 Message-Id: <20210415120424.17800-1-reshma.pattan@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH] framework: enhance regex for DPDK apps build 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 below patch added regex enhancements to match latest DPDK build output which contains '#'. But the patch missed to make same change at another place. https://git.dpdk.org/tools/dts/commit/?id=18c537316341ed2ec440b659835f40143ceba8b7 So, this patch extended the same fix to another place in "build_dpdk_apps" method. CC: BoX.C.Chen@intel.com CC: ZbigniewX.Sikora@intel.com Signed-off-by: Sikora ZbigniewX Signed-off-by: Reshma Pattan --- 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 0edb38a6..95efad64 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -576,9 +576,9 @@ class DPDKdut(Dut): example = 'all' else: example = '/'.join(folder_info[folder_info.index('examples')+1:]) - out = self.send_expect("meson configure -Dexamples=%s %s" % (example, self.target), "# ") + 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