1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00
RIOT/tests/xtimer_msg_receive_timeout
smlng 3893f04d00 tests: move testrunner import up
Testrunner is now impported as a package found in PYTHONPATH, so
import can be placed at the top of the script as usual.
2018-08-13 14:11:24 +02:00
..
2018-08-13 14:11:24 +02:00
2018-04-09 17:50:22 +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.