[dts] [PATCH V1] tests/TestSuite_unit_tests_kni:adapt meson build, add set_build_options
Chen Linglix
linglix.chen at intel.com
Mon Sep 14 08:51:03 CEST 2020
adapt meson build, add set_build_options
Signed-off-by: Chen Linglix <linglix.chen at intel.com>
---
tests/TestSuite_unit_tests_kni.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_unit_tests_kni.py b/tests/TestSuite_unit_tests_kni.py
index abf8a80..d54a5ac 100644
--- a/tests/TestSuite_unit_tests_kni.py
+++ b/tests/TestSuite_unit_tests_kni.py
@@ -75,6 +75,8 @@ class TestUnitTestsKni(TestCase):
"""
self.dut.send_expect("sed -i -e 's/KNI_KMOD_ETHTOOL=n$/KNI_KMOD_ETHTOOL=y/' config/common_base", "# ", 30)
self.dut.send_expect("sed -i -e 's/CONFIG_RTE_KNI_KMOD=n$/CONFIG_RTE_KNI_KMOD=y/' config/common_base", "# ", 30)
+ self.dut.set_build_options({'KNI_KMOD_ETHTOOL': 'y'})
+ self.dut.set_build_options({'RTE_KNI_KMOD': 'y'})
self.dut.build_install_dpdk(self.target)
self.cores = self.dut.get_core_list("all")
self.insmod_kni()
--
1.8.3.1
More information about the dts
mailing list