diff --git a/TESTS/mbed_drivers/race_test/main.cpp b/TESTS/mbed_drivers/race_test/main.cpp index 006c9a12b2..be35669058 100644 --- a/TESTS/mbed_drivers/race_test/main.cpp +++ b/TESTS/mbed_drivers/race_test/main.cpp @@ -22,6 +22,10 @@ #include "SingletonPtr.h" #include +#ifndef MBED_RTOS_SINGLE_THREAD + #error [NOT_SUPPORTED] test not supported for single threaded enviroment +#endif + using namespace utest::v1; #define TEST_STACK_SIZE 1024