]> https://gitweb.dealii.org/ - dealii.git/commitdiff
*sigh*
authorMatthias Maier <tamiko@kyomu.43-1.org>
Fri, 20 Sep 2013 20:38:07 +0000 (20:38 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Fri, 20 Sep 2013 20:38:07 +0000 (20:38 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30874 0785d39b-7218-0410-832d-ea1e28bc413d

tests/run_testsuite.cmake

index 1df1f8646a3ef504bf5845451534bba7ca99eb95..a83d1f6bb73bd8ffe370f0226b60b13fd2924ae8 100644 (file)
@@ -261,7 +261,7 @@ IF(EXISTS ${CTEST_BINARY_DIRECTORY}/detailed.log)
   STRING(REGEX REPLACE " " "-" _compiler_id ${_compiler_id})
   IF( NOT "${_compiler_id}" STREQUAL "" OR
       _compiler_id MATCHES "CMAKE_CXX_COMPILER" )
-    SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${_compiler_id}")
+    SET(CTEST_BUILD_NAME "${_compiler_id}")
   ENDIF()
 ENDIF()
 
@@ -288,7 +288,8 @@ ENDIF()
 
 IF(NOT "${CONFIG_FILE}" STREQUAL "")
   GET_FILENAME_COMPONENT(_conf ${CONFIG_FILE} NAME_WE)
-  SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${conf}")
+  STRING(REGEX REPLACE "#.*$" "" _conf ${_conf})
+  SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${_conf}")
 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.