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:
parent
012c016b74
commit
89475e72f7
2
dist/tools/testrunner/testrunner.py
vendored
2
dist/tools/testrunner/testrunner.py
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user