autotest: fixed stable build of multicopter frame types

This commit is contained in:
Andrew Tridgell 2017-01-09 11:52:11 +11:00
parent eaf5676636
commit 2101f7c0c1

View File

@ -292,11 +292,16 @@ build_arduplane() {
build_arducopter() {
tag="$1"
echo "Building ArduCopter $tag binaries from $(pwd)"
# work out what frames to build by looking for FRAME_CLASS parameter
checkout ArduCopter $tag "" ""
if grep -q FRAME_CLASS ArduCopter/Parameters.cpp; then
frames="quad tri heli"
else
frames="quad tri hexa y6 octa octa-quad heli"
fi
checkout ArduCopter "latest" "" ""
for b in erlebrain2 navio navio2 pxf pxfmini bebop; do
for f in $frames; do
checkout ArduCopter $tag $b $f || {