set maximum timeout for tests to 10s

Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
Jeroen Koekkoek 2018-08-05 22:18:13 +02:00
parent 977458c57a
commit 169b4129f0
2 changed files with 2 additions and 0 deletions

View file

@ -122,6 +122,7 @@ function(add_cunit_executable target)
add_test(
NAME "CUnit_${suite}_${test}"
COMMAND ${target} -a -r "${suite}-${test}" -s ${suite} -t ${test})
set_tests_properties("CUnit_${suite}_${test}" PROPERTIES TIMEOUT 10)
if(APPLE)
set_property(
TEST "CUnit_${suite}_${test}"