1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Francisco Molina
091ab15912
sys/test_utils/interactive_sync: allow module disabling
If the header file is included test_utils_interactive_sync() will
be defined as an empty function when the module is not used, e.g.
added to DISABLE_MODULES in tests/*
2020-03-02 08:50:18 +01:00
Gunar Schorcht
9c726e7eb5 sys: reduce RAM usage by expect on AVR 2020-02-25 16:43:04 +01:00
36bb7741ac sys/test_utils: add "expect()" 2020-02-24 11:45:33 +01:00
Gaëtan Harter
027426793c
test_utils_interactive_sync: add a helper for synchronizing tests
Add an implementation that waits for 's' to print 'START' and return.
If 'r' is given is prints 'READY' to allow querying for state.

The help and answered string have to be different to not match the other.
Using puts/getchar was smaller than using `stdio_read/stdio_write` on the
example I tested with `esp32`.
2019-08-15 12:26:28 +02:00