autotest: speed up build_binaries a bit

don't need to rebuild from scratch for copter
This commit is contained in:
Andrew Tridgell 2015-03-25 22:33:31 -07:00
parent 97ee7e9fcc
commit 58a1ead765

View File

@ -185,11 +185,11 @@ build_arducopter() {
return
}
make px4-clean || return
rm -rf ../Build.ArduCopter
for f in $frames; do
echo "Building ArduCopter PX4-$f binaries"
ddir="$binaries/Copter/$hdate/PX4-$f"
skip_build $tag $ddir && continue
rm -rf ../Build.ArduCopter
make px4-$f || {
echo "Failed build of ArduCopter PX4 $tag"
error_count=$((error_count+1))