test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1 01/14] tests/unit_tests_crc:addcreate_eal_parameters function
@ 2020-01-20  9:00 huang,zhimin
  2020-01-20  9:00 ` [dts] [PATCH V1 02/14] tests/unit_tests_dump:addcreate_eal_parameters function huang,zhimin
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: huang,zhimin @ 2020-01-20  9:00 UTC (permalink / raw)
  To: dts; +Cc: huang,zhimin

Signed-off-by: huang,zhimin <zhiminx.huang@intel.com>
---
 tests/TestSuite_unit_tests_crc.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_unit_tests_crc.py b/tests/TestSuite_unit_tests_crc.py
index 334a651..f182d35 100644
--- a/tests/TestSuite_unit_tests_crc.py
+++ b/tests/TestSuite_unit_tests_crc.py
@@ -56,8 +56,7 @@ class TestUnitTestsCrc(TestCase):
         """
         Run at the start of each test suite.
         """
-        cores = self.dut.get_core_list("all")
-        self.coremask = utils.create_mask(cores)
+        self.cores = self.dut.get_core_list("all")
 
     def set_up(self):
         """
@@ -70,7 +69,8 @@ class TestUnitTestsCrc(TestCase):
         Run crc autotests in RTE command line.
         """
 
-        self.dut.send_expect("./%s/app/test -n 1 -c %s" % (self.target, self.coremask), "R.*T.*E.*>.*>", 60)
+        eal_params = self.dut.create_eal_parameters(cores=self.cores)
+        self.dut.send_expect("./%s/app/test %s" % (self.target, eal_params), "R.*T.*E.*>.*>", 60)
         out = self.dut.send_expect("crc_autotest", "RTE>>", 60)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.8.3.1


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

end of thread, other threads:[~2020-01-20  8:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-20  9:00 [dts] [PATCH V1 01/14] tests/unit_tests_crc:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 02/14] tests/unit_tests_dump:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 03/14] tests/unit_tests_eal:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 04/14] tests/unit_tests_kni:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 05/14] tests/unit_tests_loopback:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 06/14] tests/unit_tests_lpm:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 07/14] tests/unit_tests_mbuf:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 08/14] tests/unit_tests_mempool:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 09/14] tests/unit_tests_pmd_perf:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 10/14] tests/unit_tests_power:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 11/14] tests/unit_tests_qos:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 12/14] tests/unit_tests_ring:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 13/14] tests/unit_tests_ringpmd:addcreate_eal_parameters function huang,zhimin
2020-01-20  9:00 ` [dts] [PATCH V1 14/14] tests/unit_tests_timer:addcreate_eal_parameters function huang,zhimin

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