Skip to content

Commit 2603e29

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
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.
1 parent 0374309 commit 2603e29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

TESTS/mbed_drivers/lp_timeout/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@ Case cases[] = {
7474
Case("1 s delay during deepsleep (attach_us)", test_deepsleep<AttachUSTester<LowPowerTimeout>, 1000000, LONG_DELTA_US>,
7575
greentea_failure_handler),
7676
#endif
77-
77+
#if !defined(__ARM_FM) //FastModels not support time drifting test
7878
Case("Timing drift (attach)", test_drift<AttachTester<LowPowerTimeout> >),
7979
Case("Timing drift (attach_us)", test_drift<AttachUSTester<LowPowerTimeout> >),
80+
#endif
8081
};
8182

8283
utest::v1::status_t greentea_test_setup(const size_t number_of_cases)

0 commit comments

Comments
 (0)