1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/xtimer_msg_receive_timeout
Cenk Gündoğan ac1a645fd1
Merge pull request #8190 from kaspar030/name_tests_by_folder
tests: set APPLICATION from folder name
2017-12-01 11:39:19 +01:00
..
tests tests: fix python style 'E302 expected 2 blank lines, found 1' 2017-11-29 17:32:06 +01:00
main.c tests: xtimer_msg_receive_timeout: always wait for not received message 2017-06-27 17:33:22 +02:00
Makefile tests: remove redundant APPLICATION defines 2017-12-01 11:03:39 +01:00
README.md tests: enhance xtimer_msg_receive_timeout 2017-05-30 22:00:49 +02:00

test application for xtimer_msg_receive_timeout()

This test will sequentially start TEST_COUNT xtimers to send a IPC msg, alternating with an interval of TEST_PERIOD +/- 10%. Every time a timer was set, it will wait for a message for at most TEST_PERIOD microseconds. This should succeed with a message or fail with timeout in an alternating manner.

Default values are TEST_COUNT = 10, and TEST_PERIOD = 100ms = 100000us.