set maximum timeout for tests to 10s
Signed-off-by: Jeroen Koekkoek <jeroen@koekkoek.nl>
This commit is contained in:
parent
977458c57a
commit
169b4129f0
2 changed files with 2 additions and 0 deletions
|
@ -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}"
|
||||
|
|
|
@ -80,6 +80,7 @@ function(add_criterion_executable _target)
|
|||
add_test(
|
||||
NAME "Criterion_${_suite}_${_name}"
|
||||
COMMAND ${_target} --suite ${_suite} --test ${_name} --cunit=${_suite}-${_name} --quiet)
|
||||
set_tests_properties("Criterion_${_suite}_${_name}" PROPERTIES TIMEOUT 10)
|
||||
if(APPLE)
|
||||
set_property(
|
||||
TEST "Criterion_${_suite}_${_name}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue