mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-14 17:13:50 +01:00
examples/basic/subfolders: fix test
At least on the samr21-xpro used for hardware in the loop testing, the terminal did not attach in time after the reset to capture all of the output. This adds the `test_utils_interactive_sync` module to wait for an `s` to be received via `stdio` before starting to print to sync with the test scripting.
This commit is contained in:
parent
1bacf70307
commit
f36a384cb9
@ -11,6 +11,11 @@ RIOTBASE ?= $(CURDIR)/../../..
|
||||
EXTERNAL_MODULE_DIRS += $(CURDIR)/external_modules/
|
||||
USEMODULE += module # module name must match folder name
|
||||
|
||||
# This is used for the test integration: The app will wait for "s" being sent
|
||||
# before starting with the output, so that the test does not fail because it
|
||||
# already finished printing when the terminal attaches.
|
||||
USEMODULE += test_utils_interactive_sync
|
||||
|
||||
# Add source files in subfolders manually
|
||||
SRC += main.c
|
||||
SRC += folder/a.c folder/subfolder/b.c folder/subfolder/c.c
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user