]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Bugfix. Check for debug/release versions _before_ removing them...
authorMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 29 Aug 2013 02:42:51 +0000 (02:42 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Thu, 29 Aug 2013 02:42:51 +0000 (02:42 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30523 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_deal_ii_pickup_tests.cmake

index a998030039ead47da4a7ed6f378a05cb638d7829..6df6a0eb3a32a4f5e782c2c54c60ee389c7bf892 100644 (file)
@@ -33,7 +33,7 @@ MACRO(DEAL_II_PICKUP_TESTS)
 
     IF( "${DEAL_II_PICKUP_REGEX}" STREQUAL "" OR
         _test MATCHES "${DEAL_II_PICKUP_REGEX}" )
-      GET_FILENAME_COMPONENT(_test ${_test} NAME_WE)
+      GET_FILENAME_COMPONENT(_test ${_test} NAME)
 
       IF(_test MATCHES debug)
         SET(_configuration DEBUG)
@@ -49,4 +49,3 @@ MACRO(DEAL_II_PICKUP_TESTS)
 
   ENDFOREACH()
 
-ENDMACRO()

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.