wscript: add slowdown and timeout to coverage autotest commandline

The optimisation / compiler flags required slow things down somewhat
This commit is contained in:
Peter Barker 2019-03-04 15:51:35 +11:00 committed by Peter Barker
parent 31697a3b0c
commit 88e3f6f78c
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ def run_coverage_tests(bld):
for test in tests: for test in tests:
print("LCOV/GCOV -> "+test+" started.... this will take quite some time...") print("LCOV/GCOV -> "+test+" started.... this will take quite some time...")
testcmd = '( ./Tools/autotest/autotest.py --debug --no-configure '+test+' ) ' testcmd = '( ./Tools/autotest/autotest.py --speedup=5 --timeout=14400 --debug --no-configure '+test+' ) '
print("Coverage Tests Executing:"+testcmd+" > ./GCOV_"+test+".log") print("Coverage Tests Executing:"+testcmd+" > ./GCOV_"+test+".log")
FLOG = open("./GCOV_"+test+".log", 'w') FLOG = open("./GCOV_"+test+".log", 'w')
if subprocess.Popen(testcmd, shell=True , stdout=FLOG, stderr=FNULL).wait(): if subprocess.Popen(testcmd, shell=True , stdout=FLOG, stderr=FNULL).wait():