diff mbox series

[V1] framework/project_dpdk: complete dpdk build apps match enhancement

Message ID 20210413120005.3858-1-linglix.chen@intel.com (mailing list archive)
State Accepted
Headers show
Series [V1] framework/project_dpdk: complete dpdk build apps match enhancement | expand

Commit Message

Chen, LingliX April 13, 2021, noon UTC
The compilation log of DPDK build app contains '# ', enhanced echo matching.

Signed-off-by: Chen Lingli <linglix.chen@intel.com>
---
 framework/project_dpdk.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chen, LingliX April 13, 2021, 3:27 a.m. UTC | #1
> -----Original Message-----
> From: Chen, LingliX <linglix.chen@intel.com>
> Sent: Tuesday, April 13, 2021 8:00 PM
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts][PATCH V1] framework/project_dpdk: complete dpdk build apps
> match enhancement

Tested-by: Chen Lingli <linglix.chen@intel.com>
Zhao, HaiyangX April 13, 2021, 7:47 a.m. UTC | #2
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Chen, LingliX
> Sent: Tuesday, April 13, 2021 11:28
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] framework/project_dpdk: complete dpdk build
> apps match enhancement
> 
> 
> > -----Original Message-----
> > From: Chen, LingliX <linglix.chen@intel.com>
> > Sent: Tuesday, April 13, 2021 8:00 PM
> > To: dts@dpdk.org
> > Cc: Chen, LingliX <linglix.chen@intel.com>
> > Subject: [dts][PATCH V1] framework/project_dpdk: complete dpdk build
> > apps match enhancement
> 
> Tested-by: Chen Lingli <linglix.chen@intel.com>

Acked-by: Haiyang Zhao <haiyangx.zhao@intel.com>
Tu, Lijuan May 7, 2021, 6:18 a.m. UTC | #3
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Zhao, HaiyangX
> Sent: 2021年4月13日 15:48
> To: Chen, LingliX <linglix.chen@intel.com>; dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] framework/project_dpdk: complete dpdk build
> apps match enhancement
> 
> 
> 
> > -----Original Message-----
> > From: dts <dts-bounces@dpdk.org> On Behalf Of Chen, LingliX
> > Sent: Tuesday, April 13, 2021 11:28
> > To: dts@dpdk.org
> > Subject: Re: [dts] [PATCH V1] framework/project_dpdk: complete dpdk
> > build apps match enhancement
> >
> >
> > > -----Original Message-----
> > > From: Chen, LingliX <linglix.chen@intel.com>
> > > Sent: Tuesday, April 13, 2021 8:00 PM
> > > To: dts@dpdk.org
> > > Cc: Chen, LingliX <linglix.chen@intel.com>
> > > Subject: [dts][PATCH V1] framework/project_dpdk: complete dpdk build
> > > apps match enhancement
> >
> > Tested-by: Chen Lingli <linglix.chen@intel.com>
> 
> Acked-by: Haiyang Zhao <haiyangx.zhao@intel.com>

Applied
diff mbox series

Patch

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