diff mbox series

[V1,6/7] tests/vhost_virtio_user_interrupt: Delete modify l3fwd-power example code

Message ID 20211116145130.113807-7-linglix.chen@intel.com (mailing list archive)
State Accepted
Headers show
Series Delete modify l3fwd-power example code | expand

Commit Message

Chen, LingliX Nov. 16, 2021, 2:51 p.m. UTC
Delete modify l3fwd-power example code

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

Comments

Wang, Yinan Nov. 22, 2021, 3:21 a.m. UTC | #1
Acked-by:  Yinan Wang <yinan.wang@intel.com>

> -----Original Message-----
> From: Lingli Chen <linglix.chen@intel.com>
> Sent: 2021?11?16? 22:51
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts][PATCH V1 6/7] tests/vhost_virtio_user_interrupt: Delete modify
> l3fwd-power example code
> 
> Delete modify l3fwd-power example code
> 
> Signed-off-by: Lingli Chen <linglix.chen@intel.com>
> ---
>  tests/TestSuite_vhost_virtio_user_interrupt.py | 8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)
> 
> diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py
> b/tests/TestSuite_vhost_virtio_user_interrupt.py
> index 89ff9800..4385681b 100644
> --- a/tests/TestSuite_vhost_virtio_user_interrupt.py
> +++ b/tests/TestSuite_vhost_virtio_user_interrupt.py
> @@ -88,11 +88,6 @@ class TestVirtioUserInterrupt(TestCase):
>          self.dut.close_session(self.l3fwd)
> 
>      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", "#", 10)
> -        self.dut.send_expect(
> -                "sed -i 's/.mq_mode        = ETH_MQ_RX_RSS,/.mq_mode        =
> ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c", "#", 10)
>          out = self.dut.build_dpdk_apps("./examples/l3fwd-power")
>          self.verify("Error" not in out, "compilation l3fwd-power error")
> 
> @@ -394,5 +389,4 @@ class TestVirtioUserInterrupt(TestCase):
>          """
>          run after each test suite.
>          """
> -        self.dut.send_expect("mv ./main.c ./examples/l3fwd-power/", "#")
> -        self.dut.build_dpdk_apps('examples/l3fwd-power')
> +        pass
> --
> 2.33.1
diff mbox series

Patch

diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py b/tests/TestSuite_vhost_virtio_user_interrupt.py
index 89ff9800..4385681b 100644
--- a/tests/TestSuite_vhost_virtio_user_interrupt.py
+++ b/tests/TestSuite_vhost_virtio_user_interrupt.py
@@ -88,11 +88,6 @@  class TestVirtioUserInterrupt(TestCase):
         self.dut.close_session(self.l3fwd)
 
     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", "#", 10)
-        self.dut.send_expect(
-                "sed -i 's/.mq_mode        = ETH_MQ_RX_RSS,/.mq_mode        = ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c", "#", 10)
         out = self.dut.build_dpdk_apps("./examples/l3fwd-power")
         self.verify("Error" not in out, "compilation l3fwd-power error")
 
@@ -394,5 +389,4 @@  class TestVirtioUserInterrupt(TestCase):
         """
         run after each test suite.
         """
-        self.dut.send_expect("mv ./main.c ./examples/l3fwd-power/", "#")
-        self.dut.build_dpdk_apps('examples/l3fwd-power')
+        pass