[dts][PATCH V1 7/7] tests/vhost_user_interrupt: Delete modify l3fwd-power example code

Lingli Chen linglix.chen at intel.com
Tue Nov 16 15:51:30 CET 2021


Delete modify l3fwd-power example code.

Signed-off-by: Lingli Chen <linglix.chen at intel.com>
---
 tests/TestSuite_vhost_user_interrupt.py | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/tests/TestSuite_vhost_user_interrupt.py b/tests/TestSuite_vhost_user_interrupt.py
index f71a2467..c0d1b4f2 100644
--- a/tests/TestSuite_vhost_user_interrupt.py
+++ b/tests/TestSuite_vhost_user_interrupt.py
@@ -78,9 +78,6 @@ class TestVhostUserInterrupt(TestCase):
         self.virtio_user = self.dut.new_session(suite="virtio-user")
 
     def prepare_l3fwd_power(self):
-        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", "#")
         out = self.dut.build_dpdk_apps('examples/l3fwd-power')
         self.verify("Error" not in out, "compilation l3fwd-power error")
 
@@ -304,6 +301,4 @@ class TestVhostUserInterrupt(TestCase):
         """
         Run after each test suite.
         """
-        # revert the code
-        self.dut.send_expect("mv ./main.c ./examples/l3fwd-power/", "#")
-        self.dut.build_dpdk_apps('examples/l3fwd-power')
+        pass
-- 
2.33.1



More information about the dts mailing list