mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-23 05:23:50 +01:00
For some boards `make reset` is only possible if a serial connection is not already open or its execution might disrupt it. This causes some tests to fail since before running a test the board is reset. `make reset` is currently used as a synchronization mechanism between the application and the test script. With `test_utils_interactive_sync` this is no longer needed so call `make reset` before `cleanterm` instead of after when `test_utils_interactive_sync` is used. Allow setting TESTRUNNER_RESET_AFTER_TERM=1 to keep the previous behaviour for `examples/%/tests`.