mirror of
https://github.com/gosticks/RIOT.git
synced 2026-10-06 07:47:09 +00:00
tests: add interactive_sync adapted to shell
This commit is contained in:
Vendored
+8
-3
@@ -99,9 +99,14 @@ def sync_child(child, env):
|
||||
# Do a child synchronization if used by a module
|
||||
modules = modules_list()
|
||||
if 'test_utils_interactive_sync' in modules:
|
||||
utils.test_utils_interactive_sync(child,
|
||||
TEST_INTERACTIVE_RETRIES,
|
||||
TEST_INTERACTIVE_DELAY)
|
||||
if 'test_utils_interactive_sync_shell' in modules:
|
||||
utils.test_utils_interactive_sync_shell(child,
|
||||
TEST_INTERACTIVE_RETRIES,
|
||||
TEST_INTERACTIVE_DELAY)
|
||||
else:
|
||||
utils.test_utils_interactive_sync(child,
|
||||
TEST_INTERACTIVE_RETRIES,
|
||||
TEST_INTERACTIVE_DELAY)
|
||||
# If requested also reset after opening the terminal, this should not be used
|
||||
# by any application since it breaks the tests for boards that do not support
|
||||
# this feature.
|
||||
|
||||
Reference in New Issue
Block a user