autotest: build docs on each autotest run

This commit is contained in:
Andrew Tridgell 2013-08-15 08:58:56 +10:00
parent 04eb1de7a5
commit 61507ccd20
2 changed files with 17 additions and 0 deletions

View File

@ -125,6 +125,8 @@ echo $githash > "buildlogs/history/$hdate/githash.txt"
(cd APM && Tools/scripts/build_parameters.sh)
(cd APM && Tools/scripts/build_docs.sh)
timelimit 5200 APM/Tools/autotest/autotest.py --timeout=5000 > buildlogs/autotest-output.txt 2>&1
) >> build.log 2>&1

15
Tools/scripts/build_docs.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
set -e
# work from either APM directory or above
[ -d ArduPlane ] || cd APM
export DOCS_OUTPUT_BASE=../buildlogs/docs
(
./docs/build-libs.sh
./docs/build-arduplane.sh
./docs/build-arducopter.sh
./docs/build-apmrover2.sh
) > ../buildlogs/build_docs.log 2>&1