test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] tests/TestSuite_pvp_virtio_bonding: Adapt dpdk updates
@ 2020-10-26 10:02 JiangYuX
  2020-10-26  2:13 ` Jiang, YuX
  2020-10-29  8:12 ` Ma, LihongX
  0 siblings, 2 replies; 4+ messages in thread
From: JiangYuX @ 2020-10-26 10:02 UTC (permalink / raw)
  To: dts; +Cc: JiangYu

From: JiangYu <yux.jiang@intel.com>

For DPDK commit: b0b672aea, PMD_BOND has been defined by default, should not redefine.

Signed-off-by: JiangYu <yux.jiang@intel.com>
---
 tests/TestSuite_pvp_virtio_bonding.py | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/tests/TestSuite_pvp_virtio_bonding.py b/tests/TestSuite_pvp_virtio_bonding.py
index 10cfe74..e6d0e61 100644
--- a/tests/TestSuite_pvp_virtio_bonding.py
+++ b/tests/TestSuite_pvp_virtio_bonding.py
@@ -210,23 +210,11 @@ class TestPVPVirtIOBonding(TestCase):
                 raise Exception("Set up VM ENV failed")
         except Exception as e:
             self.logger.error("ERROR: Failure for %s" % str(e))
-        if self.dut.build_type == 'meson':
-            self.build_pmd_bond(self.vm_dut)
-
-    def build_pmd_bond(self, user_dut):
-        user_dut.set_build_options({'RTE_LIBRTE_PMD_BOND': 'y'})
-        user_dut.build_install_dpdk(self.target)
-
-    def restore_env(self, user_dut):
-        user_dut.set_build_options({'RTE_LIBRTE_PMD_BOND': 'n'})
-        user_dut.build_install_dpdk(self.target)
 
     def stop_testpmd_and_vm(self):
         """
         quit testpmd on vhost and stop vm
         """
-        if self.dut.build_type == 'meson':
-            self.restore_env(self.vm_dut)
         self.vhost_testpmd.quit()
         self.vm.stop()
 
-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-03  2:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-26 10:02 [dts] [PATCH V2] tests/TestSuite_pvp_virtio_bonding: Adapt dpdk updates JiangYuX
2020-10-26  2:13 ` Jiang, YuX
2020-10-29  8:12 ` Ma, LihongX
2020-11-03  2:21   ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).