mirror of https://github.com/ARMmbed/mbed-os.git
Component SD test: skip multiple thread test depending on RAM
parent
83dada3bdc
commit
7bfa6bdcaf
|
@ -154,6 +154,9 @@ void read_file_data (char count)
|
||||||
|
|
||||||
void test_thread_access_test()
|
void test_thread_access_test()
|
||||||
{
|
{
|
||||||
|
char *dummy = new (std::nothrow) char[OS_STACK_SIZE * MBED_THREAD_COUNT];
|
||||||
|
delete[] dummy;
|
||||||
|
TEST_SKIP_UNLESS_MESSAGE(dummy, "Not enough memory to run test");
|
||||||
|
|
||||||
Thread *data[MBED_THREAD_COUNT];
|
Thread *data[MBED_THREAD_COUNT];
|
||||||
int res = bd.init();
|
int res = bd.init();
|
||||||
|
|
Loading…
Reference in New Issue