a124fbc4c2
In ArduPlane "make all" is the same as "make sitl" and both sitl and linux are already covered by the loop below. Don't build the same configuration multiple times.
42 lines
610 B
Bash
Executable File
42 lines
610 B
Bash
Executable File
#!/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
|
|
|
|
. ~/.profile
|
|
|
|
echo "Testing ArduPlane build"
|
|
pushd ArduPlane
|
|
for b in apm2; do
|
|
pwd
|
|
make clean
|
|
make $b -j4
|
|
done
|
|
popd
|
|
|
|
for d in ArduCopter APMrover2 ArduPlane AntennaTracker; do
|
|
pushd $d
|
|
make clean
|
|
make navio -j2
|
|
make clean
|
|
make sitl -j4
|
|
make clean
|
|
make linux -j2
|
|
make clean
|
|
make px4-cleandep
|
|
make px4-v2
|
|
popd
|
|
done
|
|
|
|
pushd Tools/Replay
|
|
make clean
|
|
make linux -j4
|
|
popd
|
|
|
|
exit 0
|