test suite reviews and discussions
 help / color / mirror / Atom feed
From: Chen Lingli <linglix.chen@intel.com>
To: dts@dpdk.org
Cc: Chen Lingli <linglix.chen@intel.com>
Subject: [dts] [PATCH V1] framework/project_dpdk: complete dpdk build apps match enhancement
Date: Tue, 13 Apr 2021 12:00:05 +0000
Message-ID: <20210413120005.3858-1-linglix.chen@intel.com> (raw)

The compilation log of DPDK build app contains '# ', enhanced echo matching.

Signed-off-by: Chen Lingli <linglix.chen@intel.com>
---
 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
-- 
2.17.1


             reply	other threads:[~2021-04-13  3:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-13 12:00 Chen Lingli [this message]
2021-04-13  3:27 ` Chen, LingliX
2021-04-13  7:47   ` Zhao, HaiyangX
2021-05-07  6:18     ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210413120005.3858-1-linglix.chen@intel.com \
    --to=linglix.chen@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ https://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git