mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
testrunner: disable local echo
When local echo is enabled, pexpect will also match on send lines to the node. So could think a node is echoing when it is only seeing the sent message. The sent messages are still written to `logfile` but now only once. This may show issues with our current tests implementation that expected this behavior.
This commit is contained in:
parent
622645d03c
commit
731dcfc319
2
dist/pythonlibs/testrunner/spawn.py
vendored
2
dist/pythonlibs/testrunner/spawn.py
vendored
@ -37,7 +37,7 @@ def find_exc_origin(exc_info):
|
||||
|
||||
def setup_child(timeout=10, spawnclass=pexpect.spawnu, env=None, logfile=None):
|
||||
child = spawnclass("make term", env=env, timeout=timeout,
|
||||
codec_errors='replace')
|
||||
codec_errors='replace', echo=False)
|
||||
|
||||
# on many platforms, the termprog needs a short while to be ready...
|
||||
time.sleep(MAKE_TERM_STARTED_DELAY)
|
||||
|
Loading…
Reference in New Issue
Block a user