From 731dcfc319e7280f8168eb18f662a361c118fd51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Tue, 5 Feb 2019 15:56:19 +0100 Subject: [PATCH] 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. --- dist/pythonlibs/testrunner/spawn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/pythonlibs/testrunner/spawn.py b/dist/pythonlibs/testrunner/spawn.py index 7beab825d5..84164d1a1d 100644 --- a/dist/pythonlibs/testrunner/spawn.py +++ b/dist/pythonlibs/testrunner/spawn.py @@ -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)