[dts] [PATCH V2] tests/flags unbind devices to DPDK

Zhu, WenhuiX wenhuix.zhu at intel.com
Wed Dec 12 02:20:33 CET 2018

Tested-by: Zhu, WenhuiX <wenhuix.zhu at intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of yaobing
Sent: Tuesday, December 11, 2018 4:47 PM
To: dts at dpdk.org
Cc: Yao, BingX Y <bingx.y.yao at intel.com>
Subject: [dts] [PATCH V2] tests/flags unbind devices to DPDK

this test just wants to make sure the memory allocation and  de-allocation behavior in clean running environment,so not having any devices bound to DPDK should be the prerequisite for running this test

Signed-off-by: yaobing <bingx.y.yao at intel.com>
 tests/TestSuite_unit_tests_eal.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index 68a4cbe..74d0dfd 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -261,11 +261,13 @@ class TestUnitTestsEal(TestCase):
         Run eal flags autotest.
+        self.dut.unbind_interfaces_linux()
         self.dut.send_expect(self.test_app_cmdline + ' -m 64', "R.*T.*E.*>.*>", self.start_test_time)
         # on FreeBSD need more time than other OS
         out = self.dut.send_expect("eal_flags_autotest", "RTE>>", 600)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
+        self.dut.bind_interfaces_linux()
     def test_alarm(self):

More information about the dts mailing list