mirror of https://github.com/ArduPilot/ardupilot
autotest: remove corefiles at start of run
These lead to false-positive failures in the test suite
This commit is contained in:
parent
ac57950575
commit
117a44b589
|
@ -671,6 +671,12 @@ def run_tests(steps):
|
|||
"""Run a list of steps."""
|
||||
global results
|
||||
|
||||
corefiles = glob.glob("core*")
|
||||
if corefiles:
|
||||
print('Removing corefiles: %s' % str(corefiles))
|
||||
for f in corefiles:
|
||||
os.unlink(f)
|
||||
|
||||
passed = True
|
||||
failed = []
|
||||
failed_testinstances = dict()
|
||||
|
|
Loading…
Reference in New Issue