[dts] [PATCH V1] complete DPDK match enhancement

Bo Chen BoX.C.Chen at intel.com
Mon Apr 12 19:08:04 CEST 2021


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

Signed-off-by: Bo Chen <BoX.C.Chen 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 af74414..5a7e448 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -332,10 +332,10 @@ class DPDKdut(Dut):
 
         self.send_expect("rm -rf " + target, "#")
         out = self.send_expect("CC=%s meson -Denable_kmods=True -Dlibdir=lib %s --default-library=%s %s" % (
-                        toolchain, extra_options, default_library, target), "# ", build_time)
+                        toolchain, extra_options, default_library, target), "[~|~\]]# ", build_time)
         assert ("FAILED" not in out), "meson setup failed ..."
 
-        out = self.send_expect("ninja -C %s" % target, "# ", build_time)
+        out = self.send_expect("ninja -C %s" % target, "[~|~\]]# ", build_time)
         assert ("FAILED" not in out), "ninja complie failed ..."
 
         # copy kmod file to the folder same as make
-- 
2.31.1



More information about the dts mailing list