From 05e9f360b286673c223a7a96b7882fe16efc815b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 Apr 2016 10:50:51 +1000 Subject: [PATCH] autotest: fixed quadplane test with new valgrind option --- Tools/autotest/quadplane.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)