[dts] [PATCH V1] framework/project_dpdk: complete dpdk build apps match enhancement
Chen Lingli
linglix.chen at intel.com
Tue Apr 13 14:00:05 CEST 2021
The compilation log of DPDK build app contains '# ', enhanced echo matching.
Signed-off-by: Chen Lingli <linglix.chen at 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
More information about the dts
mailing list