mirror of https://github.com/ARMmbed/mbed-os.git
Skip time drifting test on FastModels targets
FastModels targets are simulator running on the x86 hosts. As the nature of non-RealTime x86 OS and FastModels, timing accuracy is not guaranteed So skipping the time drifting tests on FastModel targetspull/7805/head
parent
f15dbf2c3d
commit
891c4ed244
|
@ -104,6 +104,10 @@ void increment_multi_counter(void)
|
|||
*/
|
||||
void test_case_1x_ticker()
|
||||
{
|
||||
#if defined(__ARM_FM)
|
||||
TEST_SKIP_MESSAGE("FastModels not support time drifting test")
|
||||
#endif
|
||||
|
||||
char _key[11] = { };
|
||||
char _value[128] = { };
|
||||
int expected_key = 1;
|
||||
|
@ -145,6 +149,10 @@ void test_case_1x_ticker()
|
|||
*/
|
||||
void test_case_2x_ticker()
|
||||
{
|
||||
#if defined(__ARM_FM)
|
||||
TEST_SKIP_MESSAGE("FastModels not support time drifting test")
|
||||
#endif
|
||||
|
||||
char _key[11] = { };
|
||||
char _value[128] = { };
|
||||
int expected_key = 1;
|
||||
|
|
|
@ -389,6 +389,10 @@ private:
|
|||
template<typename T>
|
||||
void test_drift(void)
|
||||
{
|
||||
#if defined(__ARM_FM)
|
||||
TEST_SKIP_MESSAGE("FastModels not support time drifting test")
|
||||
#endif
|
||||
|
||||
char _key[11] = { };
|
||||
char _value[128] = { };
|
||||
int expected_key = 1;
|
||||
|
|
|
@ -62,6 +62,10 @@ void ticker_event_handler_stub(const ticker_data_t *const ticker)
|
|||
/* Test that the ticker is operating at the frequency it specifies. */
|
||||
void ticker_frequency_test()
|
||||
{
|
||||
#if defined(__ARM_FM)
|
||||
TEST_SKIP_MESSAGE("FastModels not support time drifting test")
|
||||
#endif
|
||||
|
||||
char _key[11] = { };
|
||||
char _value[128] = { };
|
||||
int expected_key = 1;
|
||||
|
|
|
@ -65,6 +65,10 @@ void update_tick_thread(Mutex *mutex)
|
|||
*/
|
||||
void test(void)
|
||||
{
|
||||
#if defined(__ARM_FM)
|
||||
TEST_SKIP_MESSAGE("FastModels not support time drifting test")
|
||||
#endif
|
||||
|
||||
char _key[11] = { };
|
||||
char _value[128] = { };
|
||||
int expected_key = 1;
|
||||
|
|
Loading…
Reference in New Issue