Skip to content
Snippets Groups Projects
Commit c54a4739 authored by René Fritze's avatar René Fritze
Browse files

[cmake] set timeout property for tests, even if has no effect atm

parent c4b12abc
No related branches found
No related tags found
No related merge requests found
...@@ -122,6 +122,8 @@ macro(BEGIN_TESTCASES) ...@@ -122,6 +122,8 @@ macro(BEGIN_TESTCASES)
add_executable( test_${testname} ${source} ${COMMON_HEADER} ) add_executable( test_${testname} ${source} ${COMMON_HEADER} )
target_link_libraries( test_${testname} ${ARGN} ${COMMON_LIBS} ${GRID_LIBS} gtest_dune_stuff ) target_link_libraries( test_${testname} ${ARGN} ${COMMON_LIBS} ${GRID_LIBS} gtest_dune_stuff )
add_test( test_${testname} ${CMAKE_CURRENT_BINARY_DIR}/test_${testname} ) 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} ) list(APPEND testnames test_${testname} )
endforeach( source ) endforeach( source )
endmacro(BEGIN_TESTCASES) endmacro(BEGIN_TESTCASES)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment