From 65af14fb5ec1c4b7d59964a4b44ac97ce54cdf8f Mon Sep 17 00:00:00 2001 From: P-A Loizeau <p.-a.loizeau@gsi.de> Date: Thu, 20 Mar 2025 14:10:54 +0100 Subject: [PATCH] [CI] Run the installation check both before and after removing the source folder --- CbmRoot_test.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CbmRoot_test.cmake b/CbmRoot_test.cmake index 151c66b86d..6655379682 100644 --- a/CbmRoot_test.cmake +++ b/CbmRoot_test.cmake @@ -175,10 +175,14 @@ If(NOT _RETVAL) RESULTS_VARIABLE _install_ret_value ) if (NOT _install_ret_value) + message("executing test suite in ${CTEST_BINARY_DIRECTORY}/install with source folder available") + execute_process(COMMAND ${CTEST_SOURCE_DIRECTORY}/cmake/scripts/execute_installation_test.sh ${CTEST_SOURCE_DIRECTORY}/install + RESULTS_VARIABLE _install_ret_value + ) execute_process(COMMAND ${CMAKE_EXECUTABLE_NAME} -E rm -R build MQ algo analysis core external fles mvd reco sim WORKING_DIRECTORY ${CTEST_SOURCE_DIRECTORY} ) - message("executing test suite in ${CTEST_BINARY_DIRECTORY}/install") + message("executing test suite in ${CTEST_BINARY_DIRECTORY}/install wihout source folder available") execute_process(COMMAND ${CTEST_SOURCE_DIRECTORY}/cmake/scripts/execute_installation_test.sh ${CTEST_SOURCE_DIRECTORY}/install RESULTS_VARIABLE _install_ret_value ) -- GitLab