[dts] [PATCH V1 07/10] tests/TestSuite_qinq_filter.py: change mode of set parameter to adapt meson build
Zhou, Jun
junx.w.zhou at intel.com
Wed Sep 16 14:29:48 CEST 2020
change mode of set parameter to adapt meson build
Signed-off-by: Zhou, Jun <junx.w.zhou at intel.com>
---
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
More information about the dts
mailing list