[V1] tests/unit_tests_eal:remove cycles_autotest
Checks
Commit Message
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(-)
Comments
> -----Original Message-----
> From: Lewei Yang <leweix.yang@intel.com>
> Sent: 2021年11月20日 2:42
> To: dts@dpdk.org
> Cc: Yang, LeweiX <leweix.yang@intel.com>
> Subject: [dts][PATCH V1] tests/unit_tests_eal:remove cycles_autotest
>
> According to dpdk commit ee00af60170b("test: remove strict timing
> requirements some tests"), Remove the timing related tests from the test suites
alarm_autotest should be removed at the same time.
>
> 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(-)
@@ -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
====
@@ -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.