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.
38 lines
873 B
38 lines
873 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 |
|
|
|
HAL_AVR_TESTS="I2CDriver_HMC5883L AnalogIn APM1 Blink Console DataflashTest FastSerial LCDTest RCInputTest RCPassthroughTest Scheduler SPIDriver_MPU6000 Storage" |
|
#HAL_AVR_TESTS="" |
|
|
|
LIBRARIES_TESTS="AP_ADC/examples/AP_ADC_test AP_Baro/examples/AP_Baro_MS5611_test AP_GPS/examples/GPS_AUTO_test AP_GPS/examples/GPS_UBLOX_test AP_GPS/examples/GPS_MTK_test" |
|
|
|
echo "building AP_HAL examples" |
|
pushd libraries/AP_HAL_AVR |
|
for b in $HAL_AVR_TESTS; do |
|
pwd |
|
pushd examples/$b |
|
make clean |
|
make |
|
popd |
|
done |
|
popd |
|
|
|
echo "building libraries examples" |
|
pushd libraries |
|
for b in $LIBRARIES_TESTS; do |
|
pwd |
|
pushd $b |
|
make clean |
|
make |
|
popd |
|
done |
|
popd |
|
|
|
exit 0
|
|
|