From 2fd7180e0bc83b0b3524115f72a0c1e700a717ae Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Mon, 27 Jan 2025 16:30:13 +0100 Subject: [PATCH] Fix Experimental build The experimental build mode should not remove the build directory neither update the local working copy. Unfortunately this features were brocken because of typos in a comparisson where lower case and upper case modes were mixed. --- CbmRoot_test.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CbmRoot_test.cmake b/CbmRoot_test.cmake index 7c0eef2e0..151c66b86 100644 --- a/CbmRoot_test.cmake +++ b/CbmRoot_test.cmake @@ -58,7 +58,7 @@ Else() EndIf() #If(${CBM_TEST_MODEL} MATCHES Nightly OR ${CBM_TEST_MODEL} MATCHES Weekly OR ${CBM_TEST_MODEL} MATCHES Profile) -If(NOT ${_BuildType} MATCHES Experimental) +If(NOT ${_BuildType} MATCHES EXPERIMENTAL) Find_Program(GCOV_COMMAND gcov) If(GCOV_COMMAND) @@ -89,7 +89,7 @@ If(DEFINED ENV{CTEST_END_TIME_LIMIT}) message(STATUS " End time for the ctest test runs set to ${stop_time}") EndIf() -If(NOT ${_BuildType} MATCHES Experimental) +If(NOT ${_BuildType} MATCHES EXPERIMENTAL) Ctest_Update(SOURCE "${CTEST_SOURCE_DIRECTORY}") EndIf() -- GitLab