[dts] [PATCH V1] tests/TestSuite_flexible_rxd:modify meson build code
Xie wei
weix.xie at intel.com
Fri Oct 23 04:31:21 CEST 2020
modify meson build code.
Signed-off-by: Xie wei <weix.xie at intel.com>
---
tests/TestSuite_flexible_rxd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_flexible_rxd.py b/tests/TestSuite_flexible_rxd.py
index b69d8bb9..7bef76c0 100644
--- a/tests/TestSuite_flexible_rxd.py
+++ b/tests/TestSuite_flexible_rxd.py
@@ -71,7 +71,7 @@ class TestFlexibleRxd(TestCase):
"""
self.dut.send_expect("cp ./app/test-pmd/util.c .", "#", 15)
self.dut.send_expect("cp ./app/test-pmd/meson.build /root/", "#", 15)
- pattern = r"/if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD')/i\if dpdk_conf.has('RTE_LIBRTE_ICE_PMD')\n\tdeps += 'pmd_ice'\nendif"
+ pattern = r"/if dpdk_conf.has('RTE_NET_IXGBE')/i\if dpdk_conf.has('RTE_NET_ICE')\n\tdeps += 'net_ice'\nendif"
self.dut.send_expect(f'sed -i "{pattern}" app/test-pmd/meson.build', "#", 15)
self.dut.send_expect(
"sed -i '/#include <rte_flow.h>/a\#include <rte_pmd_ice.h>' app/test-pmd/util.c", "#", 15)
--
2.17.1
More information about the dts
mailing list