test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] framework: enhance regex for DPDK apps build
@ 2021-04-15 12:04 Reshma Pattan
  2021-04-16  1:48 ` Chen, BoX C
  0 siblings, 1 reply; 3+ messages in thread
From: Reshma Pattan @ 2021-04-15 12:04 UTC (permalink / raw)
  To: dts; +Cc: Reshma Pattan, BoX.C.Chen, ZbigniewX.Sikora

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 <ZbigniewX.Sikora@intel.com>
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
---
 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
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-20 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-15 12:04 [dts] [PATCH] framework: enhance regex for DPDK apps build Reshma Pattan
2021-04-16  1:48 ` Chen, BoX C
2021-04-20 11:54   ` Pattan, Reshma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).