[dts] [PATCH V1]framework/project_dpdk: ignore make warning info

Xiao, QimaiX qimaix.xiao at intel.com
Wed Jul 1 11:53:32 CEST 2020


Tested-by: Xiao, QimaiX <qimaix.xiao at intel.com>

Regards,
Xiao Qimai

> -----Original Message-----
> From: Xiao, QimaiX <qimaix.xiao at intel.com>
> Sent: Wednesday, July 1, 2020 5:45 PM
> To: dts at dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao at intel.com>
> Subject: [dts][PATCH V1]framework/project_dpdk: ignore make warning
> info
> 
> Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
> ---
>  framework/project_dpdk.py | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
> index b8cb2bd..c0dfd59 100644
> --- a/framework/project_dpdk.py
> +++ b/framework/project_dpdk.py
> @@ -231,12 +231,12 @@ class DPDKdut(Dut):
>          self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#")
> 
>          # compile
> -        out = self.send_expect("make -j %d install T=%s %s" %
> +        out = self.send_expect("make -j %d install T=%s %s
> + MAKE_PAUSE=n" %
>              (self.number_of_cores, target, extra_options), "# ", build_time)
>          if("Error" in out or "No rule to make" in out):
>              self.logger.error("ERROR - try without '-j'")
>              # if Error try to execute make without -j option
> -            out = self.send_expect("make install T=%s %s" % (target,
> extra_options), "# ", build_time*4)
> +            out = self.send_expect("make install T=%s %s MAKE_PAUSE=n"
> + % (target, extra_options), "# ", build_time*4)
> 
>          assert ("Error" not in out), "Compilation error..."
>          assert ("No rule to make" not in out), "No rule to make error..."
> @@ -252,13 +252,13 @@ class DPDKdut(Dut):
>          self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' , "#")
>          build_time = 180
>          # compile
> -        out = self.send_expect("make -j %d install T=%s" %
> (self.number_of_cores,
> +        out = self.send_expect("make -j %d install T=%s MAKE_PAUSE=n" %
> + (self.number_of_cores,
>                                                                       target),
>                                 "#", build_time)
>          if("Error" in out or "No rule to make" in out):
>              self.logger.error("ERROR - try without '-j'")
>              # if Error try to execute make without -j option
> -            out = self.send_expect("make install T=%s" % target,
> +            out = self.send_expect("make install T=%s MAKE_PAUSE=n" %
> + target,
>                                     "#", build_time)
> 
>          assert ("Error" not in out), "Compilation error..."
> --
> 1.8.3.1



More information about the dts mailing list