mirror of https://github.com/ArduPilot/ardupilot
Tools: continue on coverage test failure
This commit is contained in:
parent
135bfac378
commit
a47c97bb9f
|
@ -177,11 +177,15 @@ class CoverageRunner(object):
|
||||||
test_list = ["Plane", "QuadPlane", "Sub", "Copter", "Helicopter", "Rover", "Tracker", "BalanceBot", "Sailboat"]
|
test_list = ["Plane", "QuadPlane", "Sub", "Copter", "Helicopter", "Rover", "Tracker", "BalanceBot", "Sailboat"]
|
||||||
for test in test_list:
|
for test in test_list:
|
||||||
self.progress("Running test.%s" % test)
|
self.progress("Running test.%s" % test)
|
||||||
subprocess.run([self.autotest,
|
try:
|
||||||
"--timeout=" + str(TIMEOUT),
|
subprocess.run([self.autotest,
|
||||||
"--debug",
|
"--timeout=" + str(TIMEOUT),
|
||||||
"--no-clean",
|
"--debug",
|
||||||
"test.%s" % test], check=self.check_tests)
|
"--no-clean",
|
||||||
|
"test.%s" % test], check=self.check_tests)
|
||||||
|
except subprocess.CalledProcessError:
|
||||||
|
# pass in case of failing tests
|
||||||
|
pass
|
||||||
# TODO add any other execution path/s we can to maximise the actually
|
# TODO add any other execution path/s we can to maximise the actually
|
||||||
# used code, can we run other tests or things? Replay, perhaps?
|
# used code, can we run other tests or things? Replay, perhaps?
|
||||||
self.update_stats()
|
self.update_stats()
|
||||||
|
|
Loading…
Reference in New Issue