From: Matthias Maier Date: Fri, 20 Sep 2013 20:21:21 +0000 (+0000) Subject: Append more useful information to the build name: Replace the obvious "x86_64-Linux... X-Git-Tag: v8.1.0~570^2~228 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=760b76d12ffda7e32a1634ea0e7a89ffa5757400;p=dealii.git Append more useful information to the build name: Replace the obvious "x86_64-Linux" by the config file name git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30873 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/run_testsuite.cmake b/tests/run_testsuite.cmake index 9f8eaf96e2..1df1f8646a 100644 --- a/tests/run_testsuite.cmake +++ b/tests/run_testsuite.cmake @@ -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}") #