From 8b5f4ec6152790c07c80a0b66c2f17bf56787630 Mon Sep 17 00:00:00 2001 From: Johannes Lenzen Date: Tue, 2 Feb 2021 15:38:52 +0100 Subject: [PATCH] Clean old cmake data --- CI/ci-linux-test.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CI/ci-linux-test.sh b/CI/ci-linux-test.sh index ce008226..b1fa1a09 100755 --- a/CI/ci-linux-test.sh +++ b/CI/ci-linux-test.sh @@ -29,6 +29,21 @@ fi cd build-$BUILDPATH +#clean old cmake cache as the path might have changed +find . -name "CMakeCache.txt" -type f -delete + +#just to be safe clean the test file definitions too +if [ -f CTestTestfile.cmake ] +then + echo "Removing old CTestTestfile.cmake" + rm CTestTestfile.cmake +fi +#just to be safe clean the test file definitions too +if [ -f DartConfiguration.tcl ] +then + echo "Removing old DartConfiguration.tcl" + rm DartConfiguration.tcl +fi # Run cmake to make sure the tests are configured correctly for this system cmake -DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON $OPTIONS ../