mirror of https://github.com/ArduPilot/ardupilot
Tools: also test out directory working in one of the build tests
This commit is contained in:
parent
62945e1d85
commit
a9c78fe7e3
|
@ -170,9 +170,17 @@ for t in $CI_BUILD_TARGET; do
|
|||
|
||||
if [ "$t" == "revo-bootloader" ]; then
|
||||
echo "Building revo bootloader"
|
||||
$waf configure --board revo-mini --bootloader
|
||||
if [ -f ~/alternate_build/revo-mini/bin/AP_Bootloader.bin ]; then
|
||||
rm -r ~/alternate_build
|
||||
fi
|
||||
$waf configure --board revo-mini --bootloader --out ~/alternate_build
|
||||
$waf clean
|
||||
$waf bootloader
|
||||
# check if bootloader got built under alternate_build
|
||||
if [ ! -f ~/alternate_build/revo-mini/bin/AP_Bootloader.bin ]; then
|
||||
echo "alternate build output directory Test failed"
|
||||
exit 1
|
||||
fi
|
||||
continue
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue