mirror of https://github.com/ArduPilot/ardupilot
wscript: add slowdown and timeout to coverage autotest commandline
The optimisation / compiler flags required slow things down somewhat
This commit is contained in:
parent
31697a3b0c
commit
88e3f6f78c
2
wscript
2
wscript
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue