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
2021-01-20 17:36:14 +01:00
..
tests tests: move testrunner import up 2018-08-13 14:11:24 +02:00
app.config.test tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
main.c tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
Makefile applications: remove 'TEST_ON_CI_WHITELIST += all' 2019-08-21 12:51:17 +02: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.