From d17194caeadf7ced7288921856a2c316d301a8b8 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Fri, 5 Nov 2021 15:13:30 +0100 Subject: [PATCH] ci: disable ccache when running CMake build system tests Some tests check if certain files are rebuilt when source files are 'touch'ed. With ccache, 'touch'ing source files doesn't cause a rebuild, hence the test fails. In case IDF_CCACHE_ENABLE was set in the environment, unset it before starting the tests. --- tools/ci/test_build_system_cmake.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/ci/test_build_system_cmake.sh b/tools/ci/test_build_system_cmake.sh index c64a79af18..a56012495b 100755 --- a/tools/ci/test_build_system_cmake.sh +++ b/tools/ci/test_build_system_cmake.sh @@ -35,6 +35,9 @@ export PATH="$IDF_PATH/tools:$PATH" # for idf.py +# Some tests assume that ccache is not enabled +unset IDF_CCACHE_ENABLE + function run_tests() { FAILURES=