mirror of https://github.com/ARMmbed/mbed-os.git
tests: race test - add not supported for single threaded env
Fixes #4196. As someone might not be aware that settting default_lib to small has some implications regarding thread safety, therefore we print an error.pull/4278/head
parent
83d186a355
commit
3f549ad1e7
|
@ -22,6 +22,10 @@
|
|||
#include "SingletonPtr.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#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
|
||||
|
|
Loading…
Reference in New Issue