1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

testrunner: spawnu 'make term' with 'codec_errors="replace"'

This commit is contained in:
Kaspar Schleiser 2018-04-11 22:39:17 +02:00
parent 012c016b74
commit 89475e72f7

View File

@ -37,7 +37,7 @@ def find_exc_origin(exc_info):
def run(testfunc, timeout=10, echo=True, traceback=False):
env = os.environ.copy()
child = pexpect.spawnu("make term", env=env, timeout=timeout)
child = pexpect.spawnu("make term", env=env, timeout=timeout, codec_errors='replace')
# on many platforms, the termprog needs a short while to be ready...
time.sleep(MAKE_TERM_STARTED_DELAY)