2014-12-31 18:32:25 -04:00
|
|
|
#!/bin/bash
|
|
|
|
# useful script to test all the different build types that we support.
|
|
|
|
# This helps when doing large merges
|
|
|
|
# Andrew Tridgell, November 2011
|
|
|
|
|
|
|
|
. config.mk
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
2015-04-05 16:24:54 -03:00
|
|
|
. ~/.profile
|
|
|
|
|
2014-12-31 18:32:25 -04:00
|
|
|
echo "Testing ArduPlane build"
|
|
|
|
pushd ArduPlane
|
2014-12-31 18:40:32 -04:00
|
|
|
make configure
|
2014-12-31 18:32:25 -04:00
|
|
|
for b in all apm2 sitl linux; do
|
|
|
|
pwd
|
|
|
|
make clean
|
|
|
|
make $b -j4
|
|
|
|
done
|
2015-01-16 17:46:01 -04:00
|
|
|
make clean
|
|
|
|
make apm1-nologging
|
2014-12-31 18:32:25 -04:00
|
|
|
popd
|
|
|
|
|
|
|
|
for d in ArduCopter APMrover2 ArduPlane AntennaTracker; do
|
|
|
|
pushd $d
|
|
|
|
make clean
|
|
|
|
make sitl -j4
|
|
|
|
make clean
|
|
|
|
make linux -j4
|
|
|
|
make clean
|
2015-01-06 00:15:38 -04:00
|
|
|
make px4-cleandep
|
2014-12-31 18:32:25 -04:00
|
|
|
make px4-v2
|
|
|
|
popd
|
|
|
|
done
|
|
|
|
|
|
|
|
pushd Tools/Replay
|
|
|
|
make clean
|
|
|
|
make linux -j4
|
|
|
|
popd
|
|
|
|
|
|
|
|
exit 0
|