[dts] [PATCH V1 2/3]tests/TestSuite_vhost_event_idx_interrupt: update script for dpdk's modification
Xiao Qimai
qimaix.xiao at intel.com
Tue May 12 06:20:27 CEST 2020
Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
---
tests/TestSuite_vhost_event_idx_interrupt.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_vhost_event_idx_interrupt.py b/tests/TestSuite_vhost_event_idx_interrupt.py
index d6b0b3d..8a252a1 100644
--- a/tests/TestSuite_vhost_event_idx_interrupt.py
+++ b/tests/TestSuite_vhost_event_idx_interrupt.py
@@ -79,6 +79,8 @@ class TestVhostEventIdxInterrupt(TestCase):
self.dut.send_expect("cp ./examples/l3fwd-power/main.c .", "#")
self.dut.send_expect(
"sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10)
+ cmd = "sed -i 's/rte_exit(EXIT_FAILURE, \"init_power_library failed/RTE_LOG(ERR, L3FWD_POWER, \"init_power_library failed/g' ./examples/l3fwd-power/main.c"
+ self.dut.send_expect(cmd, "#")
out = self.dut.send_expect("make -C examples/l3fwd-power", "#")
self.verify("Error" not in out, "compilation l3fwd-power error")
--
1.8.3.1
More information about the dts
mailing list