]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Strip path from output name before trying to match
authorMatthias Maier <tamiko@kyomu.43-1.org>
Sat, 28 Sep 2013 09:38:37 +0000 (09:38 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Sat, 28 Sep 2013 09:38:37 +0000 (09:38 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30996 0785d39b-7218-0410-832d-ea1e28bc413d

tests/cmake/macros/macro_pickup_tests.cmake

index 8d76d86be58b8aaf9b80e2ad1d43952e7f97b4a5..07a780cb2abf85863af50b582c363d712241b584 100644 (file)
@@ -34,13 +34,13 @@ MACRO(DEAL_II_PICKUP_TESTS)
   FILE(GLOB _tests "*.output")
   FOREACH(_test ${_tests})
     SET(_comparison ${_test})
+    GET_FILENAME_COMPONENT(_test ${_test} NAME)
 
     #
     # Respect TEST_PICKUP_REGEX:
     #
     IF( "${TEST_PICKUP_REGEX}" STREQUAL "" OR
         _test MATCHES "${TEST_PICKUP_REGEX}" )
-      GET_FILENAME_COMPONENT(_test ${_test} NAME)
       SET(_define_test TRUE)
     ELSE()
       SET(_define_test FALSE)

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.