]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Testsuite: Filter out branch in run_testsuite.cmake correctly
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Dec 2013 21:35:40 +0000 (21:35 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 9 Dec 2013 21:35:40 +0000 (21:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@31963 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/scripts/run_testsuite.cmake

index f4605d67600b3048edb419619c4d71c7637c8032..ffa6253e5bfb01dbca250b12405fe05d5973d0f0 100644 (file)
@@ -379,7 +379,9 @@ IF(${_result} EQUAL 0)
 
   STRING(REGEX REPLACE "^${_svn_WC_ROOT}/" "" _branch ${_svn_WC_URL})
   STRING(REGEX REPLACE "^branches/" "" _branch ${_branch})
+  STRING(REGEX REPLACE "^releases/" "" _branch ${_branch})
   STRING(REGEX REPLACE "/deal.II$" "" _branch ${_branch})
+  STRING(REGEX REPLACE "/" "" _branch ${_branch})
 
   SET(CTEST_BUILD_NAME "${CTEST_BUILD_NAME}-${_branch}")
 ENDIF()

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.