[dts] [PATCH] framework: enhance regex for DPDK apps build
Chen, BoX C
box.c.chen at intel.com
Fri Apr 16 03:48:23 CEST 2021
Hi Pattan,
Regards,
Chen Bo
> -----Original Message-----
> From: Pattan, Reshma <reshma.pattan at intel.com>
> Sent: April 15, 2021 20:04
> To: dts at dpdk.org
> Cc: Pattan, Reshma <reshma.pattan at intel.com>; Chen, BoX C
> <box.c.chen at intel.com>; Sikora, ZbigniewX <zbigniewx.sikora at intel.com>
> Subject: [dts][PATCH] framework: enhance regex for DPDK apps build
>
> 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=18c537316341ed2ec440b659835f4
> 0143ceba8b7
>
> So, this patch extended the same fix to another place in "build_dpdk_apps"
> method.
>
The fix patch has been submited, thank you very much for your attention.
http://mails.dpdk.org/archives/dts/2021-April/013219.html
> 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