]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add revision back to build name for now, add branch to xml as well
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Sep 2013 00:23:05 +0000 (00:23 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 26 Sep 2013 00:23:05 +0000 (00:23 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30938 0785d39b-7218-0410-832d-ea1e28bc413d

tests/run_testsuite.cmake

index b5182410ca335b41677b2fa0a4cc8cb66bdc41d3..c3682aa7f5dbb34fe0667eb8e08c808a8fd37676 100644 (file)
@@ -281,7 +281,7 @@ IF(${_result} EQUAL 0)
   STRING(REGEX REPLACE "^${_svn_WC_ROOT}/" "" _branch ${_svn_WC_URL})
   STRING(REGEX REPLACE "^branches/" "" _branch ${_branch})
   STRING(REGEX REPLACE "/deal.II$" "" _branch ${_branch})
-  SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${_branch}")
+  SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${_branch}-r${_svn_WC_REVISION}")
 ENDIF()
 
 #
@@ -390,7 +390,7 @@ IF(NOT EXISTS ${_path})
 ENDIF()
 FILE(GLOB _xml_files ${_path}/*.xml)
 EXECUTE_PROCESS(COMMAND sed -i -e
-  s/CompilerName=\"\"/CompilerName=\"${_compiler_name}\"\\n\\tCompilerVersion=\"${_compiler_version}\"\\n\\tSVNRevision=\"${_svn_WC_REVISION}\"/g
+  s/CompilerName=\"\"/CompilerName=\"${_compiler_name}\"\\n\\tCompilerVersion=\"${_compiler_version}\"\\n\\tSVNBranch=\"${_branch}\"\\n\\tSVNRevision=\"${_svn_WC_REVISION}\"/g
   ${_xml_files}
   OUTPUT_QUIET RESULT_VARIABLE  _res
   )

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.