mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tools/testrunner: wait 3s after 'make term'
This commit is contained in:
parent
bf70d8e830
commit
1928d1c0e9
5
dist/tools/testrunner/testrunner.py
vendored
5
dist/tools/testrunner/testrunner.py
vendored
@ -10,10 +10,15 @@
|
||||
import os, signal, sys, subprocess
|
||||
from pexpect import spawnu, TIMEOUT, EOF
|
||||
from traceback import print_tb
|
||||
import time
|
||||
|
||||
def run(testfunc, timeout=10, echo=True, traceback=False):
|
||||
env = os.environ.copy()
|
||||
child = spawnu("make term", env=env, timeout=timeout)
|
||||
|
||||
# on many platforms, the termprog needs a short while to be ready...
|
||||
time.sleep(3)
|
||||
|
||||
if echo:
|
||||
child.logfile = sys.stdout
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user