Skip to content

Commit 79bf717

Browse files
Merge pull request #4205 from 0xc0170/fix_issue4196
tests: race test - add not supported for single threaded env
2 parents 143e346 + 84eddd0 commit 79bf717

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

TESTS/mbed_drivers/race_test/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
#include "SingletonPtr.h"
2323
#include <stdio.h>
2424

25+
#ifndef MBED_RTOS_SINGLE_THREAD
26+
#error [NOT_SUPPORTED] test not supported for single threaded enviroment
27+
#endif
28+
2529
using namespace utest::v1;
2630

2731
#define TEST_STACK_SIZE 1024

0 commit comments

Comments
 (0)