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 CBE75A04D5; Wed, 16 Sep 2020 14:45:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C70C51C2F2; Wed, 16 Sep 2020 14:45:04 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 961181C2E7 for ; Wed, 16 Sep 2020 14:45:03 +0200 (CEST) IronPort-SDR: mLmHOZoisoeLApMCYsq7bNaDNf8ivMRgVA3eSzV+3hweNjUwzGTsa936oo5liaeumqILc1CnSv Ug1wweas5Y8A== X-IronPort-AV: E=McAfee;i="6000,8403,9745"; a="160383167" X-IronPort-AV: E=Sophos;i="5.76,432,1592895600"; d="scan'208";a="160383167" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2020 05:45:03 -0700 IronPort-SDR: SBKIkYKWSaGPA7dWZe5EZFes/dpd2ReMzMQUQG/O92MRCZmeBZHvtugdJpeemtBZnErUTP16Gp MDIJyWFXPELg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,432,1592895600"; d="scan'208";a="409542347" Received: from unknown (HELO localhost.localdomain) ([10.240.183.52]) by fmsmga001.fm.intel.com with ESMTP; 16 Sep 2020 05:45:01 -0700 From: "Zhou, Jun" To: dts@dpdk.org Cc: "Zhou, Jun" , Zhou@dpdk.org Date: Wed, 16 Sep 2020 12:29:48 +0000 Message-Id: <20200916122951.17646-8-junx.w.zhou@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200916122951.17646-1-junx.w.zhou@intel.com> References: <20200916122951.17646-1-junx.w.zhou@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 07/10] tests/TestSuite_qinq_filter.py: change mode of set parameter to adapt meson build 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" change mode of set parameter to adapt meson build Signed-off-by: Zhou, Jun --- tests/TestSuite_qinq_filter.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py index 086abc17..91a2d7a5 100644 --- a/tests/TestSuite_qinq_filter.py +++ b/tests/TestSuite_qinq_filter.py @@ -72,9 +72,7 @@ class TestQinqFilter(TestCase): cores = self.dut.get_core_list('1S/2C/1T') self.coreMask = utils.create_mask(cores) - - self.dut.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=.*$/" - + "CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=n/' config/common_base", "# ", 30) + self.dut.set_build_options({'RTE_LIBRTE_I40E_INC_VECTOR': 'n'}) self.dut.build_install_dpdk(self.target) self.path=self.dut.apps_name['test-pmd'] @@ -350,6 +348,5 @@ class TestQinqFilter(TestCase): """ Run after each test suite. """ - self.dut.send_expect("sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=.*$/" - + "CONFIG_RTE_LIBRTE_I40E_INC_VECTOR=y/' config/common_base", "# ", 30) + self.dut.set_build_options({'RTE_LIBRTE_I40E_INC_VECTOR': 'y'}) self.dut.build_install_dpdk(self.target) -- 2.25.1