From c54a4739291614ffbb26776321d4c95d3fce156c Mon Sep 17 00:00:00 2001
From: Rene Milk <rene.milk@uni-muenster.de>
Date: Wed, 22 Oct 2014 15:54:17 +0200
Subject: [PATCH] [cmake] set timeout property for tests, even if has no effect
 atm

---
 cmake/modules/DuneUtils.cmake | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmake/modules/DuneUtils.cmake b/cmake/modules/DuneUtils.cmake
index 9c31f12b6..8fdf62f2f 100644
--- a/cmake/modules/DuneUtils.cmake
+++ b/cmake/modules/DuneUtils.cmake
@@ -122,6 +122,8 @@ macro(BEGIN_TESTCASES)
     add_executable( test_${testname} ${source} ${COMMON_HEADER} )
     target_link_libraries( test_${testname} ${ARGN} ${COMMON_LIBS} ${GRID_LIBS} gtest_dune_stuff )
     add_test( test_${testname} ${CMAKE_CURRENT_BINARY_DIR}/test_${testname} )
+    # currently property seems to have no effect
+    set_tests_properties(test_${testname} PROPERTIES TIMEOUT ${DUNE_TEST_TIMEOUT})
 		list(APPEND testnames test_${testname} )
 	endforeach( source )
 endmacro(BEGIN_TESTCASES)
-- 
GitLab