Fix test skip message to not enough heap

pull/9931/head
David Saada 2019-03-05 14:36:08 +02:00
parent 4075d6ee49
commit 3c14dd4d6e
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ void test_multi_threads()
char *dummy;
rtos::Thread **bd_thread = new (std::nothrow) rtos::Thread*[TEST_NUM_OF_THREADS];
TEST_SKIP_UNLESS_MESSAGE((*bd_thread) != NULL, "no block device found.");
TEST_SKIP_UNLESS_MESSAGE((*bd_thread) != NULL, "not enough heap to run test.");
memset(bd_thread, 0, TEST_NUM_OF_THREADS * sizeof(rtos::Thread *));
for (i_ind = 0; i_ind < TEST_NUM_OF_THREADS; i_ind++) {