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 targets
pull/7805/head
Qinghao Shi 2018-08-15 00:04:54 +01:00
parent f15dbf2c3d
commit 891c4ed244
4 changed files with 20 additions and 0 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;