From 6b5a51d64658fc95546becbb282527e99aa126a2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 13 Nov 2011 21:20:29 +1100 Subject: [PATCH] autotest: added --experimental option this currently enables fly.ArduPlane --- Tools/autotest/autotest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tools/autotest/autotest.py b/Tools/autotest/autotest.py index e0816dc944..9ed6e1e4bb 100755 --- a/Tools/autotest/autotest.py +++ b/Tools/autotest/autotest.py @@ -83,6 +83,7 @@ parser = optparse.OptionParser("autotest") parser.add_option("--skip", type='string', default='', help='list of steps to skip (comma separated)') parser.add_option("--list", action='store_true', default=False, help='list the available steps') parser.add_option("--viewerip", default=None, help='IP address to send MAVLink and fg packets to') +parser.add_option("--experimental", default=False, action='store_true', help='enable experimental tests') opts, args = parser.parse_args() @@ -151,6 +152,9 @@ def run_step(step): return arducopter.fly_ArduCopter() if step == 'fly.ArduPlane': + if not opts.experimental: + print("DISABLED: use --experimental to enable fly.ArduPlane") + return True return arduplane.fly_ArduPlane(viewerip=opts.viewerip) if step == 'convertgpx':