]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Append more useful information to the build name: Replace the obvious "x86_64-Linux...
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 20 Sep 2013 20:21:21 +0000 (20:21 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 20 Sep 2013 20:21:21 +0000 (20:21 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30873 0785d39b-7218-0410-832d-ea1e28bc413d

tests/run_testsuite.cmake

index 9f8eaf96e280aff47e5d5b91ef2a8d72180fa65c..1df1f8646a3ef504bf5845451534bba7ca99eb95 100644 (file)
@@ -232,14 +232,7 @@ ENDFOREACH()
 # CTEST_BUILD_NAME:
 #
 
-SET(CTEST_BUILD_NAME
-  "${CMAKE_SYSTEM_PROCESSOR}-${CMAKE_SYSTEM_NAME}"
-  )
-
-#
 # Append compiler information to CTEST_BUILD_NAME:
-#
-
 IF(NOT EXISTS ${CTEST_BINARY_DIRECTORY}/detailed.log)
   # Apparently, ${CTEST_BINARY_DIRECTORY} is not a configured build
   # directory. In this case we need a trick: set up a dummy project and
@@ -289,6 +282,15 @@ IF(${_result} EQUAL 0)
   SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${_branch}-r${_svn_WC_REVISION}")
 ENDIF()
 
+#
+# Append config file name to CTEST_BUILD_NAME:
+#
+
+IF(NOT "${CONFIG_FILE}" STREQUAL "")
+  GET_FILENAME_COMPONENT(_conf ${CONFIG_FILE} NAME_WE)
+  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.