Tools: ci: get ccache statistics for SITL test

This commit is contained in:
Francisco Ferreira 2017-08-25 01:13:50 +01:00
parent 129fde128a
commit be88b5a6e8
No known key found for this signature in database
GPG Key ID: F63C20A6773E787E
1 changed files with 3 additions and 0 deletions

View File

@ -41,10 +41,13 @@ if [ "$CI_BUILD_TARGET" = "sitltest" ]; then
unset BUILDROOT unset BUILDROOT
echo "Running SITL QuadCopter test" echo "Running SITL QuadCopter test"
Tools/autotest/autotest.py build.ArduCopter fly.ArduCopter Tools/autotest/autotest.py build.ArduCopter fly.ArduCopter
ccache -s && ccache -z
echo "Running SITL QuadPlane test" echo "Running SITL QuadPlane test"
Tools/autotest/autotest.py build.ArduPlane fly.QuadPlane Tools/autotest/autotest.py build.ArduPlane fly.QuadPlane
ccache -s && ccache -z
echo "Running SITL Rover test" echo "Running SITL Rover test"
Tools/autotest/autotest.py build.APMrover2 drive.APMrover2 Tools/autotest/autotest.py build.APMrover2 drive.APMrover2
ccache -s && ccache -z
exit 0 exit 0
fi fi