mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 08:13:56 -04:00
autotest: fixed quadplane test with new valgrind option
This commit is contained in:
parent
180a7905e5
commit
05e9f360b2
@ -40,7 +40,7 @@ def fly_mission(mavproxy, mav, filename, fence, height_accuracy=-1):
|
||||
return True
|
||||
|
||||
|
||||
def fly_QuadPlane(viewerip=None, map=False):
|
||||
def fly_QuadPlane(viewerip=None, map=False, valgrind=False):
|
||||
'''fly QuadPlane in SIL
|
||||
|
||||
you can pass viewerip as an IP address to optionally send fg and
|
||||
@ -55,7 +55,7 @@ def fly_QuadPlane(viewerip=None, map=False):
|
||||
options += ' --map'
|
||||
|
||||
sil = util.start_SIL('ArduPlane', model='quadplane', wipe=True, home=HOME_LOCATION, speedup=10,
|
||||
defaults_file=os.path.join(testdir, 'quadplane.parm'))
|
||||
defaults_file=os.path.join(testdir, 'quadplane.parm'), valgrind=valgrind)
|
||||
mavproxy = util.start_MAVProxy_SIL('QuadPlane', options=options)
|
||||
mavproxy.expect('Telemetry log: (\S+)')
|
||||
logfile = mavproxy.match.group(1)
|
||||
|
Loading…
Reference in New Issue
Block a user