Skip to content
Snippets Groups Projects
Commit 1928d1c0 authored by Hauke Petersen's avatar Hauke Petersen
Browse files

tools/testrunner: wait 3s after 'make term'

parent bf70d8e8
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment