From 99090b717038fdc9822471146ae68d70a9ac5834 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 9 Oct 2018 21:06:36 +1100 Subject: [PATCH] Tools: build_ci.sh: enable math index checking for sitltest-rover --- Tools/scripts/build_ci.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tools/scripts/build_ci.sh b/Tools/scripts/build_ci.sh index b553b9ada0..3dec5e4ba3 100755 --- a/Tools/scripts/build_ci.sh +++ b/Tools/scripts/build_ci.sh @@ -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