Tools: build_ci.sh: enable math index checking for sitltest-rover

This commit is contained in:
Peter Barker 2018-10-09 21:06:36 +11:00 committed by Peter Barker
parent 560f17a570
commit 99090b7170
1 changed files with 5 additions and 1 deletions

View File

@ -57,8 +57,12 @@ function run_autotest() {
unset BUILDROOT
echo "Running SITL $NAME test"
w=""
if [ $c_compiler == "clang" ]; then
w="--check-c-compiler=clang --check-cxx-compiler=clang++"
w="$w --check-c-compiler=clang --check-cxx-compiler=clang++"
fi
if [ $NAME == "Rover" ]; then
w="$w --enable-math-check-indexes"
fi
Tools/autotest/autotest.py --waf-configure-args="$w" "$BVEHICLE" "$RVEHICLE"
ccache -s && ccache -z