2011-11-25 18:57:46 -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
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
2016-01-16 01:04:19 -04:00
|
|
|
export BUILDROOT="/tmp/all.build"
|
|
|
|
rm -rf $BUILDROOT
|
|
|
|
|
2018-12-28 00:54:36 -04:00
|
|
|
BOARDS="sitl linux Pixhawk1"
|
2011-11-25 18:57:46 -04:00
|
|
|
|
2017-05-08 23:07:03 -03:00
|
|
|
for b in $BOARDS; do
|
|
|
|
echo "Testing $b build"
|
|
|
|
./waf configure --board $b
|
|
|
|
./waf clean
|
|
|
|
./waf
|
2011-11-25 18:57:46 -04:00
|
|
|
done
|
2017-02-24 19:25:50 -04:00
|
|
|
|
2017-05-08 23:07:03 -03:00
|
|
|
echo "Building Replay"
|
2014-03-19 07:04:16 -03:00
|
|
|
pushd Tools/Replay
|
|
|
|
make clean
|
2016-10-31 19:33:02 -03:00
|
|
|
make
|
2014-03-19 07:04:16 -03:00
|
|
|
popd
|
|
|
|
|
2018-07-05 01:18:17 -03:00
|
|
|
echo "Testing configure all"
|
|
|
|
./Tools/scripts/configure_all.py
|
|
|
|
|
2012-02-19 18:16:57 -04:00
|
|
|
exit 0
|