[dts] [PATCH] framework: enhance regex for DPDK apps build
Reshma Pattan
reshma.pattan at intel.com
Thu Apr 15 14:04:24 CEST 2021
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 at intel.com
CC: ZbigniewX.Sikora at intel.com
Signed-off-by: Sikora ZbigniewX <ZbigniewX.Sikora at intel.com>
Signed-off-by: Reshma Pattan <reshma.pattan at 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
More information about the dts
mailing list