1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

tests: always use interactive sync for timing tests

Use `test_utils_interactive_sync` for the following tests explicitly:

- tests/periph/timer_periodic
- tests/sys/posix_sleep

This is needed for accurate timestamping of the stdio received. The
tests will not pass without on `native` / `native64`.
This commit is contained in:
Marian Buschsieweke 2024-11-12 15:41:49 +01:00
parent 77b6264da1
commit 562f1f0210
No known key found for this signature in database
GPG Key ID: 758BD52517F79C41
2 changed files with 10 additions and 0 deletions

View File

@ -4,4 +4,9 @@ FEATURES_REQUIRED = periph_timer_periodic
USEMODULE += fmt
# Interactive sync improves accuracy of timestamping the output
# and is also needed on native for the automatic test to
# pass. Hence, we just depend on it here.
USEMODULE += test_utils_interactive_sync
include $(RIOTBASE)/Makefile.include

View File

@ -2,6 +2,11 @@ include ../Makefile.sys_common
USEMODULE += posix_sleep
# Interactive sync improves accuracy of timestamping the output
# and is also needed on native for the automatic test to
# pass. Hence, we just depend on it here.
USEMODULE += test_utils_interactive_sync
# microbit qemu failing currently
TEST_ON_CI_BLACKLIST += microbit