[dts] [PATCH V1] framework/project_dpdk:delete the specified compiler of freebsd

Zhu, ShuaiX shuaix.zhu at intel.com
Tue Mar 26 10:35:53 CET 2019


Tested-by: Zhu, ShuaiX <shuaix.zhu at intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of changqingxwu
> Sent: Tuesday, March 26, 2019 4:32 PM
> To: dts at dpdk.org
> Cc: Wu, ChangqingX <changqingx.wu at intel.com>
> Subject: [dts] [PATCH V1] framework/project_dpdk:delete the specified
> compiler of freebsd
> 
> Signed-off-by: changqingxwu <changqingx.wu 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
> 6035c68..bc26f55 100644
> --- a/framework/project_dpdk.py
> +++ b/framework/project_dpdk.py
> @@ -236,13 +236,13 @@ class DPDKdut(Dut):
>          self.send_expect("rm -rf %s" % r'./app/test/test_pci_sysfs.res.o' ,
> "#")
>          build_time = 120
>          # compile
> -        out = self.send_expect("make -j %d install T=%s CC=gcc48" %
> (self.number_of_cores,
> +        out = self.send_expect("make -j %d install T=%s" %
> + (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 CC=gcc48" % target,
> +            out = self.send_expect("make install T=%s" % target,
>                                     "#", build_time)
> 
>          assert ("Error" not in out), "Compilation error..."
> --
> 2.17.2



More information about the dts mailing list