1
0
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:
Gaëtan Harter 2019-02-05 15:56:19 +01:00
parent 622645d03c
commit 731dcfc319
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B

View File

@ -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)