From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B1D04A0525; Wed, 22 Jan 2020 04:35:43 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 66F0E2A62; Wed, 22 Jan 2020 04:35:43 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1E4BDF04 for ; Wed, 22 Jan 2020 04:35:41 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jan 2020 19:35:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,347,1574150400"; d="scan'208";a="281948011" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 21 Jan 2020 19:35:40 -0800 From: Haiyang Zhao To: dts@dpdk.org Cc: Haiyang Zhao Date: Wed, 22 Jan 2020 11:41:12 +0800 Message-Id: <1579664472-1673-1-git-send-email-haiyangx.zhao@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] framework/dut:optimize code X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" *.add a blank for eal_str if need to add shared lib patch. Signed-off-by: Haiyang Zhao --- 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