diff --git a/Tools/autotest/quadplane.py b/Tools/autotest/quadplane.py index 0ebd60008b..2464c2a5fa 100644 --- a/Tools/autotest/quadplane.py +++ b/Tools/autotest/quadplane.py @@ -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)