[dts] [PATCH V1 1/3]tests/TestSuite_vhost_enqueue_interrupt: update script for dpdk's modification

Xiao Qimai qimaix.xiao at intel.com
Tue May 12 06:20:26 CEST 2020


Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
---
 tests/TestSuite_vhost_enqueue_interrupt.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_vhost_enqueue_interrupt.py b/tests/TestSuite_vhost_enqueue_interrupt.py
index 7c6368a..f75c839 100644
--- a/tests/TestSuite_vhost_enqueue_interrupt.py
+++ b/tests/TestSuite_vhost_enqueue_interrupt.py
@@ -68,6 +68,8 @@ class TestVhostEnqueueInterrupt(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", "#")
+        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.build_dpdk_apps('examples/l3fwd-power')
         self.verify("Error" not in out, "compilation l3fwd-power error")
 
-- 
1.8.3.1



More information about the dts mailing list