mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Tools: set SITL_PANIC_EXIT for build_autotest.sh
This commit is contained in:
parent
02403d9b93
commit
d66d1a31f0
@ -107,8 +107,6 @@ popd
|
||||
githash=$(cd APM && git rev-parse HEAD)
|
||||
hdate=$(date +"%Y-%m-%d-%H:%m")
|
||||
|
||||
mkdir -p "buildlogs/history/$hdate"
|
||||
|
||||
(cd APM && Tools/scripts/build_parameters.sh)
|
||||
|
||||
(cd APM && Tools/scripts/build_docs.sh)
|
||||
@ -121,8 +119,13 @@ ulimit -c 10000000
|
||||
# build in home dir, as on faster storage
|
||||
export BUILD_BINARIES_PATH=$HOME/build/tmp
|
||||
|
||||
# exit on panic so we don't waste time waiting around
|
||||
export SITL_PANIC_EXIT=1
|
||||
|
||||
timelimit 32000 APM/Tools/autotest/autotest.py --timeout=30000 > buildlogs/autotest-output.txt 2>&1
|
||||
|
||||
mkdir -p "buildlogs/history/$hdate"
|
||||
|
||||
(cd buildlogs && cp -f *.txt *.flashlog *.tlog *.km[lz] *.gpx *.html *.png *.bin *.BIN *.elf "history/$hdate/")
|
||||
echo $githash > "buildlogs/history/$hdate/githash.txt"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user