autotest: support multicopter frame variants

This commit is contained in:
Andrew Tridgell 2016-04-28 10:05:18 +10:00
parent 9e01d7de6c
commit bec8bf8880

View File

@ -242,15 +242,15 @@ autotest="../Tools/autotest"
# modify build target based on copter frame type
case $FRAME in
+|quad)
+|quad|quad-*)
BUILD_TARGET="sitl"
MODEL="+"
MODEL="$FRAME"
DEFAULTS_PATH="$autotest/copter_params.parm"
;;
X)
X*)
BUILD_TARGET="sitl"
EXTRA_PARM="param set FRAME 1;"
MODEL="X"
MODEL="$FRAME"
DEFAULTS_PATH="$autotest/copter_params.parm"
;;
octa*)