mbed-os/TESTS
Russ Butler 06fa1dbbef Prevent use of deleted ticker in Ticker test
In test_case_2x_callbacks two tickers are setup to repeatedly
reschedule each other. When these tickers are deleted this
rescheduling is still occurring and can lead to a deleted ticker
being scheduled.

When this happens the following error message is displayed:
Thread 0x0 error -6: Not allowed in ISR context

Note - this problem was not detected by CI since the test reported
the correct results back to the host test and only experienced this
error on tear down.

This problem can be reproduced on an nrf51 by first building the ticker
test with:
"mbed test -t GCC_ARM -m NRF51_DK -n tests-mbed_drivers-ticker
--compile -DMBED_TRAP_ERRORS_ENABLED=1
-DMBED_HEAP_STATS_ENABLED=1 -DMBED_STACK_STATS_ENABLED=1"

And then running testing with:
"mbed test -t GCC_ARM -m NRF51_DK -n tests-mbed_drivers-ticker --run"
2017-10-20 16:18:27 +01:00
..
events Added copyright header to all tests 2017-08-07 12:02:33 -05:00
host_tests Update timing calculations 2017-06-28 16:29:38 -05:00
integration/basic Added copyright header to all tests 2017-08-07 12:02:33 -05:00
mbed_drivers Prevent use of deleted ticker in Ticker test 2017-10-20 16:18:27 +01:00
mbed_functional Added copyright header to all tests 2017-08-07 12:02:33 -05:00
mbed_hal Remove direct use of us and lp ticker from tests 2017-09-24 21:34:28 +01:00
mbedmicro-mbed Added copyright header to all tests 2017-08-07 12:02:33 -05:00
mbedmicro-rtos-mbed Threads test require more time to finish 2017-09-24 21:34:29 +01:00
mbedtls Add test of sha256_clone function 2017-06-16 10:47:45 +02:00
netsocket update domain name to os.mbed.com 2017-10-06 14:12:46 +01:00
network/wifi WiFi tests: Make tests CI friendly 2016-11-10 17:03:26 +00:00
storage_abstraction Ignore deprecated storage test 2017-06-02 23:50:39 -05:00