mirror of https://github.com/ARMmbed/mbed-os.git
move test skipping macro for FastModels to top of the test
parent
0ad1934f32
commit
c9ac4868ac
|
@ -145,10 +145,6 @@ 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;
|
||||
|
|
|
@ -33,6 +33,11 @@
|
|||
#error [NOT_SUPPORTED] test not supported
|
||||
#endif
|
||||
|
||||
//FastModels not support time drifting test
|
||||
#if defined(__ARM_FM)
|
||||
#error [NOT_SUPPORTED] test not supported
|
||||
#endif
|
||||
|
||||
#define US_PER_S 1000000
|
||||
|
||||
using namespace utest::v1;
|
||||
|
@ -62,10 +67,6 @@ 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;
|
||||
|
|
|
@ -27,12 +27,15 @@
|
|||
#error [NOT_SUPPORTED] test not supported
|
||||
#endif
|
||||
|
||||
//FastModels not support time drifting test
|
||||
#if defined(__ARM_FM)
|
||||
#error [NOT_SUPPORTED] test not supported
|
||||
#endif
|
||||
|
||||
using utest::v1::Case;
|
||||
|
||||
#if defined(__CORTEX_M23) || defined(__CORTEX_M33)
|
||||
#define TEST_STACK_SIZE 512
|
||||
#elif defined(__ARM_FM)
|
||||
#define TEST_STACK_SIZE 512
|
||||
#else
|
||||
#define TEST_STACK_SIZE 256
|
||||
#endif
|
||||
|
@ -67,10 +70,6 @@ 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