test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/unit_tests_eal:remove cycles_autotest
@ 2021-11-19 18:42 Lewei Yang
  2021-11-22 14:56 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Lewei Yang @ 2021-11-19 18:42 UTC (permalink / raw)
  To: dts; +Cc: Lewei Yang

According to dpdk commit ee00af60170b("test: remove strict timing requirements some tests"),
Remove the timing related tests from the test suites

Signed-off-by: Lewei Yang <leweix.yang@intel.com>
---
 test_plans/unit_tests_eal_test_plan.rst |  9 ---------
 tests/TestSuite_unit_tests_eal.py       | 10 ----------
 2 files changed, 19 deletions(-)

diff --git a/test_plans/unit_tests_eal_test_plan.rst b/test_plans/unit_tests_eal_test_plan.rst
index 4cb9d6b9..df7c8dd2 100644
--- a/test_plans/unit_tests_eal_test_plan.rst
+++ b/test_plans/unit_tests_eal_test_plan.rst
@@ -189,15 +189,6 @@ Byteorder functions
 Check the result of optimized byte swap functions for each size (16-,
 32- and 64-bit).
 
-Cycles Test
-===========
-
-- Loop N times and check that the timer always increments and
-  never decrements during this loop.
-
-- Wait one second using rte_usleep() and check that the increment
-  of cycles is correct with regard to the frequency of the timer.
-
 Logs
 ====
 
diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index 8096183c..2710bfdd 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -316,16 +316,6 @@ class TestUnitTestsEal(TestCase):
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
 
-    def test_cycles(self):
-        """
-        Run cycles autotest.
-        """
-
-        self.dut.send_expect(self.test_app_cmdline, "R.*T.*E.*>.*>", self.start_test_time)
-        out = self.dut.send_expect("cycles_autotest", "RTE>>", self.run_cmd_time)
-        self.dut.send_expect("quit", "# ")
-        self.verify("Test OK" in out, "Test failed")
-
     def test_logs(self):
         """
         Run logs autotest.
-- 
2.17.1


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

end of thread, other threads:[~2021-11-22 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19 18:42 [dts][PATCH V1] tests/unit_tests_eal:remove cycles_autotest Lewei Yang
2021-11-22 14:56 ` 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).