From patchwork Fri Nov 19 18:42:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lewei Yang X-Patchwork-Id: 104531 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 45A1BA0C4B; Fri, 19 Nov 2021 11:11:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16A8D40143; Fri, 19 Nov 2021 11:11:54 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id CA68040140 for ; Fri, 19 Nov 2021 11:11:52 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10172"; a="214421499" X-IronPort-AV: E=Sophos;i="5.87,247,1631602800"; d="scan'208";a="214421499" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2021 02:11:51 -0800 X-IronPort-AV: E=Sophos;i="5.87,247,1631602800"; d="scan'208";a="495811889" Received: from unknown (HELO localhost.localdomain) ([10.240.183.102]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2021 02:11:50 -0800 From: Lewei Yang To: dts@dpdk.org Cc: Lewei Yang Subject: [dts][PATCH V1] tests/unit_tests_eal:remove cycles_autotest Date: Fri, 19 Nov 2021 18:42:25 +0000 Message-Id: <20211119184225.32057-1-leweix.yang@intel.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org 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 --- 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.