test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/eal:add base virtaddr for freebsd
@ 2019-07-25  5:48 changqingxwu
  2019-08-07  7:27 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: changqingxwu @ 2019-07-25  5:48 UTC (permalink / raw)
  To: dts; +Cc: changqingxwu

Add "base virtaddr" params for freebsd,
and clearing after each case run end, in case affect other cases.

Signed-off-by: changqingxwu <changqingx.wu@intel.com>
---
 tests/TestSuite_unit_tests_eal.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index 07d788f..d3475a4 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -370,8 +370,10 @@ class TestUnitTestsEal(TestCase):
         """
         Run multiprocess autotest.
         """
-
-        self.dut.send_expect(self.test_app_cmdline + ' -m 64', "R.*T.*E.*>.*>", self.start_test_time)
+        if self.dut.get_os_type() == "freebsd":
+            self.dut.send_expect(self.test_app_cmdline + ' -m 64 --base-virtaddr=0x1000000000', "R.*T.*E.*>.*>", self.start_test_time)
+        else:
+            self.dut.send_expect(self.test_app_cmdline + ' -m 64', "R.*T.*E.*>.*>", self.start_test_time)
         out = self.dut.send_expect("multiprocess_autotest", "RTE>>", self.run_cmd_time)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
@@ -438,7 +440,7 @@ class TestUnitTestsEal(TestCase):
         """
         Run after each test case.
         """
-        pass
+        self.dut.kill_all()
 
     def tear_down_all(self):
         """
-- 
2.17.2


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

end of thread, other threads:[~2019-08-07  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-25  5:48 [dts] [PATCH V1] tests/eal:add base virtaddr for freebsd changqingxwu
2019-08-07  7:27 ` 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).