mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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."""
|
"""Run a list of steps."""
|
||||||
global results
|
global results
|
||||||
|
|
||||||
|
corefiles = glob.glob("core*")
|
||||||
|
if corefiles:
|
||||||
|
print('Removing corefiles: %s' % str(corefiles))
|
||||||
|
for f in corefiles:
|
||||||
|
os.unlink(f)
|
||||||
|
|
||||||
passed = True
|
passed = True
|
||||||
failed = []
|
failed = []
|
||||||
failed_testinstances = dict()
|
failed_testinstances = dict()
|
||||||
|
Loading…
Reference in New Issue
Block a user