You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
428 B
22 lines
428 B
#!/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 |
|
|
|
export PATH=/usr/lib/ccache:$PATH |
|
|
|
TESTS=$(find libraries -name '*.pde' | xargs grep -l include..AP_HAL.h | xargs -i dirname '{}') |
|
|
|
for b in $TESTS; do |
|
echo "TESTING $b" |
|
pushd $b |
|
make clean |
|
make |
|
popd |
|
done |
|
|
|
echo "All tests built OK" |
|
exit 0
|
|
|