[dts] [PATCH V1] framework/dut:optimize code
Tu, Lijuan
lijuan.tu at intel.com
Mon Feb 10 09:54:27 CET 2020
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Haiyang Zhao
> Sent: Wednesday, January 22, 2020 11:41 AM
> To: dts at dpdk.org
> Cc: Zhao, HaiyangX <haiyangx.zhao at intel.com>
> Subject: [dts] [PATCH V1] framework/dut:optimize code
>
> *.add a blank for eal_str if
> need to add shared lib patch.
>
> Signed-off-by: Haiyang Zhao <haiyangx.zhao at intel.com>
> ---
> framework/dut.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/framework/dut.py b/framework/dut.py index 8af5bed..4f376f5
> 100644
> --- a/framework/dut.py
> +++ b/framework/dut.py
> @@ -224,7 +224,7 @@ class Dut(Crb):
> use_shared_lib =
> settings.load_global_setting(settings.HOST_SHARED_LIB_SETTING)
> shared_lib_path =
> settings.load_global_setting(settings.HOST_SHARED_LIB_PATH)
> if use_shared_lib == 'true' and shared_lib_path and 'Virt' not in str(self):
> - eal_str = eal_str + ' -d {}'.format(shared_lib_path)
> + eal_str = eal_str + ' -d {} '.format(shared_lib_path)
>
> return eal_str
>
> --
> 1.8.3.1
More information about the dts
mailing list