mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #15067 from ARMmbed/fix_flash_overflow_callback_big_test
Greentea: Fix flash overflown issue in callback_big testpull/15073/head
commit
eff8fda16c
|
@ -20,6 +20,8 @@
|
||||||
#include "utest.h"
|
#include "utest.h"
|
||||||
#include <mstd_functional>
|
#include <mstd_functional>
|
||||||
|
|
||||||
|
#define TEST_MIN_REQ_ROM_SIZE (36 * 1024)
|
||||||
|
|
||||||
using namespace utest::v1;
|
using namespace utest::v1;
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
@ -884,8 +886,7 @@ Case cases[] = {
|
||||||
Case("Testing callbacks with 2 uint64s", test_dispatch2<uint64_t>),
|
Case("Testing callbacks with 2 uint64s", test_dispatch2<uint64_t>),
|
||||||
Case("Testing callbacks with 3 uint64s", test_dispatch3<uint64_t>),
|
Case("Testing callbacks with 3 uint64s", test_dispatch3<uint64_t>),
|
||||||
Case("Testing callbacks with 4 uint64s", test_dispatch4<uint64_t>),
|
Case("Testing callbacks with 4 uint64s", test_dispatch4<uint64_t>),
|
||||||
// IAR currently crashes at link time with this test - skip it as it's well beyond anything needed by real code
|
#if !defined(__ICCARM__) && (!defined(MBED_ROM_SIZE) || (MBED_ROM_SIZE >= TEST_MIN_REQ_ROM_SIZE))
|
||||||
#ifndef __ICCARM__
|
|
||||||
Case("Testing callbacks with 5 uint64s", test_dispatch5<uint64_t>),
|
Case("Testing callbacks with 5 uint64s", test_dispatch5<uint64_t>),
|
||||||
#endif
|
#endif
|
||||||
#elif DO_SMALL_TEST
|
#elif DO_SMALL_TEST
|
||||||
|
|
Loading…
Reference in New Issue