autotest: speed up build_all_px4.sh

only build archives once
This commit is contained in:
Andrew Tridgell 2013-10-10 13:43:56 +11:00
parent dd4b9275fd
commit cdf813697a

View File

@ -8,21 +8,24 @@
set -e
set -x
for d in ArduPlane ArduCopter APMrover2; do
pushd $d
make px4-clean
popd
done
echo "Testing ArduPlane build"
pushd ArduPlane
make px4-clean
make px4
popd
echo "Testing ArduCopter build"
pushd ArduCopter
make px4-clean
make px4
popd
echo "Testing APMrover2 build"
pushd APMrover2
make px4-clean
make px4
popd