From 67257e545e0f94ac33d56c93cbb1a66bf40e6eb8 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 22 Feb 2018 09:47:54 +1100 Subject: [PATCH] Tools: add how-to-use comment to build-with-disabled-features --- .../autotest/build-with-disabled-features.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Tools/autotest/build-with-disabled-features.py b/Tools/autotest/build-with-disabled-features.py index 10a79f289d..dc2cf5dded 100755 --- a/Tools/autotest/build-with-disabled-features.py +++ b/Tools/autotest/build-with-disabled-features.py @@ -4,6 +4,25 @@ from __future__ import print_function ''' Build ArduPilot with various build-time options enabled or disabled + +Usage is straight forward; invoke this script from the root directory +of an ArduPilot checkout: + +pbarker@bluebottle:~/rc/ardupilot(build-with-disabled-features)$ ./Tools/autotest/build-with-disabled-features.py + +BWFD: Building +Running: ("/home/pbarker/rc/ardupilot/Tools/autotest/autotest.py" "build.ArduCopter") in (.) +lckfile='/home/pbarker/rc/buildlogs/autotest.lck' +. +. +. +>>>> PASSED STEP: build.ArduCopter at Thu Feb 22 09:46:43 2018 +check step: build.ArduCopter +BWFD: ADVANCED_FAILSAFE OK +BWFD: Successes: ['MOUNT', 'AUTOTUNE_ENABLED', 'AC_FENCE', 'CAMERA', 'RANGEFINDER_ENABLED', 'PROXIMITY_ENABLED', 'AC_RALLY', 'AC_AVOID_ENABLED', 'AC_TERRAIN', 'PARACHUTE', 'NAV_GUIDED', 'OPTFLOW', 'VISUAL_ODOMETRY_ENABLED', 'FRSKY_TELEM_ENABLED', 'ADSB_ENABLED', 'PRECISION_LANDING', 'SPRAYER', 'WINCH_ENABLED', 'ADVANCED_FAILSAFE'] +BWFD: Failures: ['LOGGING_ENABLED'] +pbarker@bluebottle:~/rc/ardupilot(build-with-disabled-features)$ q + ''' import re