From b0c49f92ae3f89b3a9212b0df49654bae41d248c Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Fri, 15 Jan 2016 18:28:31 +0100
Subject: [PATCH] [bugfix] Make test require executable

The test falsely required an executable with the name of the test
instead of the name of the executable. As the comment correctly states
the test needs the executable to run not a test target..
---
 cmake/modules/DumuxTestMacros.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/modules/DumuxTestMacros.cmake b/cmake/modules/DumuxTestMacros.cmake
index 2f19c9cf40..2d9ab4d8a4 100644
--- a/cmake/modules/DumuxTestMacros.cmake
+++ b/cmake/modules/DumuxTestMacros.cmake
@@ -57,6 +57,6 @@ macro(add_dumux_test dumux_test dumux_test_executable dumux_test_executable_sour
                   COMMAND ${dumux_test_args}
                   SKIP_ON_77)
     # tests always require the executable to run
-    set_tests_properties(${dumux_test} PROPERTIES REQUIRED_FILES ${dumux_test})
+    set_tests_properties(${dumux_test} PROPERTIES REQUIRED_FILES ${dumux_test_executable})
   endif()
 endmacro()
-- 
GitLab