From 3c14dd4d6edefa09e976a5f291b351e27571e81f Mon Sep 17 00:00:00 2001 From: David Saada Date: Tue, 5 Mar 2019 14:36:08 +0200 Subject: [PATCH] Fix test skip message to not enough heap --- .../storage/TESTS/blockdevice/general_block_device/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/storage/TESTS/blockdevice/general_block_device/main.cpp b/features/storage/TESTS/blockdevice/general_block_device/main.cpp index a2125cf3c4..a91715c5aa 100644 --- a/features/storage/TESTS/blockdevice/general_block_device/main.cpp +++ b/features/storage/TESTS/blockdevice/general_block_device/main.cpp @@ -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++) {