test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] tests/flags unbind devices to DPDK
@ 2018-12-11  8:47 yaobing
  2018-12-12  1:20 ` Zhu, WenhuiX
  2018-12-22 20:09 ` Lijuan Tu
  0 siblings, 2 replies; 3+ messages in thread
From: yaobing @ 2018-12-11  8:47 UTC (permalink / raw)
  To: dts; +Cc: yaobing

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@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):
         """
-- 
2.17.2

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

end of thread, other threads:[~2018-12-22 11:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-11  8:47 [dts] [PATCH V2] tests/flags unbind devices to DPDK yaobing
2018-12-12  1:20 ` Zhu, WenhuiX
2018-12-22 20:09 ` Lijuan Tu

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).