From c08678c4449e65e10978a4be26d40cced7732c92 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sat, 28 Sep 2013 09:38:37 +0000 Subject: [PATCH] Bugfix: Strip path from output name before trying to match 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cmake/macros/macro_pickup_tests.cmake b/tests/cmake/macros/macro_pickup_tests.cmake index 8d76d86be5..07a780cb2a 100644 --- a/tests/cmake/macros/macro_pickup_tests.cmake +++ b/tests/cmake/macros/macro_pickup_tests.cmake @@ -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) -- 2.39.5