Skip to content

Commit 80fe861

Browse files
authored
Merge pull request ARMmbed#12035 from kjbracey-arm/callback_prep
Preparation for Callback changes
2 parents 2757e9a + 8b02c4e commit 80fe861

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+175
-1166
lines changed

TESTS/mbed_functional/callback/main.cpp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,12 +695,28 @@ utest::v1::status_t test_setup(const size_t number_of_cases)
695695
}
696696

697697
Case cases[] = {
698+
#ifdef DO_BIG_TEST
699+
Case("Testing callbacks with 0 uint64s", test_dispatch0<uint64_t>),
700+
Case("Testing callbacks with 1 uint64s", test_dispatch1<uint64_t>),
701+
Case("Testing callbacks with 2 uint64s", test_dispatch2<uint64_t>),
702+
Case("Testing callbacks with 3 uint64s", test_dispatch3<uint64_t>),
703+
Case("Testing callbacks with 4 uint64s", test_dispatch4<uint64_t>),
704+
Case("Testing callbacks with 5 uint64s", test_dispatch5<uint64_t>),
705+
#elif DO_SMALL_TEST
706+
Case("Testing callbacks with 0 uchars", test_dispatch0<unsigned char>),
707+
Case("Testing callbacks with 1 uchars", test_dispatch1<unsigned char>),
708+
Case("Testing callbacks with 2 uchars", test_dispatch2<unsigned char>),
709+
Case("Testing callbacks with 3 uchars", test_dispatch3<unsigned char>),
710+
Case("Testing callbacks with 4 uchars", test_dispatch4<unsigned char>),
711+
Case("Testing callbacks with 5 uchars", test_dispatch5<unsigned char>),
712+
#else
698713
Case("Testing callbacks with 0 ints", test_dispatch0<int>),
699714
Case("Testing callbacks with 1 ints", test_dispatch1<int>),
700715
Case("Testing callbacks with 2 ints", test_dispatch2<int>),
701716
Case("Testing callbacks with 3 ints", test_dispatch3<int>),
702717
Case("Testing callbacks with 4 ints", test_dispatch4<int>),
703718
Case("Testing callbacks with 5 ints", test_dispatch5<int>),
719+
#endif
704720
};
705721

706722
Specification specification(test_setup, cases);

0 commit comments

Comments
 (0)