diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 099174372..27a83a23b 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -292,7 +292,8 @@ cleanup() -iname CMakeFiles -exec rm -rf {} \+ -o \ \( -iname cmake_install.cmake -o \ -iname CTestTestfile.cmake -o \ - -iname CMakeCache.txt \) -exec rm -f {} \+ + -iname CMakeCache.txt -o \ + -path './cmake/*.cmake' \) -exec rm -f {} \+ # Recover files overwritten by in-tree CMake builds rm -f include/Makefile include/mbedtls/Makefile programs/*/Makefile