[dts] [PATCH V1] complete DPDK match enhancement

Tu, Lijuan lijuan.tu at intel.com
Tue Apr 13 03:22:07 CEST 2021


Applied

> -----Original Message-----
> From: dts <dts-bounces at dpdk.org> On Behalf Of Bo Chen
> Sent: 2021年4月13日 1:08
> To: dts at dpdk.org
> Cc: Chen, BoX C <box.c.chen at intel.com>
> Subject: [dts] [PATCH V1] complete DPDK match enhancement
> 
> 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