mirror of https://github.com/ARMmbed/mbed-os.git
Workaround for insufficient heap on IAR+MTB_xDOT_GT
We currently don't have a mechanism for selecting tests based on the available ram/heap, so the best solution right now is to disable these tests specifically for this target.pull/6056/head
parent
76329a7080
commit
9ce49a8f82
|
@ -23,6 +23,11 @@
|
|||
|
||||
using namespace utest::v1;
|
||||
|
||||
// TODO HACK, replace with available ram/heap property
|
||||
#if defined(TARGET_MTB_MTS_XDOT)
|
||||
#error [NOT_SUPPORTED] Insufficient heap for heap block device tests
|
||||
#endif
|
||||
|
||||
#define TEST_BLOCK_SIZE 128
|
||||
#define TEST_BLOCK_DEVICE_SIZE 32*TEST_BLOCK_SIZE
|
||||
#define TEST_BLOCK_COUNT 10
|
||||
|
|
|
@ -24,6 +24,11 @@
|
|||
|
||||
using namespace utest::v1;
|
||||
|
||||
// TODO HACK, replace with available ram/heap property
|
||||
#if defined(TARGET_MTB_MTS_XDOT)
|
||||
#error [NOT_SUPPORTED] Insufficient heap for heap block device tests
|
||||
#endif
|
||||
|
||||
#define BLOCK_COUNT 16
|
||||
#define BLOCK_SIZE 512
|
||||
|
||||
|
|
|
@ -26,6 +26,11 @@
|
|||
|
||||
using namespace utest::v1;
|
||||
|
||||
// TODO HACK, replace with available ram/heap property
|
||||
#if defined(TARGET_MTB_MTS_XDOT)
|
||||
#error [NOT_SUPPORTED] Insufficient heap for heap block device tests
|
||||
#endif
|
||||
|
||||
#define BLOCK_COUNT 16
|
||||
#define BLOCK_SIZE 512
|
||||
|
||||
|
|
Loading…
Reference in New Issue