From b36c32de3437de93ad320f4a48c60dbae287336b Mon Sep 17 00:00:00 2001 From: Qinghao Shi Date: Wed, 3 Apr 2019 16:45:28 +0100 Subject: [PATCH] FastModel: Skip low-power ticker time drifting test for models FastModels are a software simulator for Arm platform/cores. They mean to be used as a tool for testing or early prototype stage development. Due to the nature of software simulator can't grantee the timing accuracy like HW. So time drifting test is skipped for software models. --- TESTS/mbed_drivers/lp_timeout/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TESTS/mbed_drivers/lp_timeout/main.cpp b/TESTS/mbed_drivers/lp_timeout/main.cpp index ec8f36e60c..c1305cc271 100644 --- a/TESTS/mbed_drivers/lp_timeout/main.cpp +++ b/TESTS/mbed_drivers/lp_timeout/main.cpp @@ -74,9 +74,10 @@ Case cases[] = { Case("1 s delay during deepsleep (attach_us)", test_deepsleep, 1000000, LONG_DELTA_US>, greentea_failure_handler), #endif - +#if !defined(__ARM_FM) //FastModels not support time drifting test Case("Timing drift (attach)", test_drift >), Case("Timing drift (attach_us)", test_drift >), +#endif }; utest::v1::status_t greentea_test_setup(const size_t number_of_cases)