From 0e0c47defbd675a49ec27f4647bfea532441b740 Mon Sep 17 00:00:00 2001 From: maier Date: Sun, 3 Nov 2013 12:07:03 +0000 Subject: [PATCH] run_testsuite.cmake: Provide a possibility to append a string to CTEST_BUILD_NAME git-svn-id: https://svn.dealii.org/trunk@31530 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/scripts/run_testsuite.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/deal.II/cmake/scripts/run_testsuite.cmake b/deal.II/cmake/scripts/run_testsuite.cmake index 2ef8566bfe..f8b2d09d41 100644 --- a/deal.II/cmake/scripts/run_testsuite.cmake +++ b/deal.II/cmake/scripts/run_testsuite.cmake @@ -77,6 +77,9 @@ # # cmake -C ${CONFIG_FILE}). This only has an effect if # CTEST_BINARY_DIRECTORY is empty. # +# DESCRIPTION +# - A string that is appended to CTEST_BUILD_NAME +# # COVERAGE # - If set to TRUE deal.II will be configured with # DEAL_II_SETUP_COVERAGE=TRUE, CMAKE_BUILD_TYPE=Debug and the @@ -421,6 +424,14 @@ IF(NOT "${CONFIG_FILE}" STREQUAL "") SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${_conf}") ENDIF() +# +# Append DESCRIPTION string to CTEST_BUILD_NAME: +# + +IF(NOT "${DESCRIPTION}" STREQUAL "") + SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${DESCRIPTION}") +ENDIF() + MESSAGE("-- CTEST_BUILD_NAME: ${CTEST_BUILD_NAME}") # -- 2.39.5