]> https://gitweb.dealii.org/ - dealii.git/commitdiff
run_testsuite.cmake: Provide a possibility to append a string to CTEST_BUILD_NAME
authorMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 3 Nov 2013 12:07:03 +0000 (12:07 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sun, 3 Nov 2013 12:07:03 +0000 (12:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@31530 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/scripts/run_testsuite.cmake

index 2ef8566bfeb17c1217ccb29d448d5948621d3ed7..f8b2d09d41908e8100c5fedf4b1927c67803ba1c 100644 (file)
@@ -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}")
 
 #

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.