Skip to content

Commit 0585a31

Browse files
authored
Update test.cmake
1 parent 4a051c0 commit 0585a31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/cmake/test.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
function(add_feature_test NAME)
66
add_test(NAME ${NAME} COMMAND ./erun resources/${NAME}.html ${NAME}.html ${ARGN} CONFIGURATIONS Release)
7-
set_tests_properties(${NAME} PROPERTIES LABELS feature TIMEOUT 10)
7+
set_tests_properties(${NAME} PROPERTIES LABELS feature TIMEOUT 20)
88
add_custom_target(${NAME} ctest --output-on-failure --tests-regex ${NAME})
99
endfunction()
1010

@@ -25,7 +25,7 @@ function(add_unit_test NAME)
2525
target_compile_options(${NAME} PRIVATE $<$<CONFIG:Debug>:--coverage>)
2626
target_link_options(${NAME} PRIVATE $<$<CONFIG:Debug>:--coverage>)
2727
add_test(NAME ${NAME} COMMAND ${NAME})
28-
set_tests_properties(${NAME} PROPERTIES LABELS unit TIMEOUT 10)
28+
set_tests_properties(${NAME} PROPERTIES LABELS unit TIMEOUT 20)
2929
endfunction()
3030

3131
add_custom_target(unittests ctest --output-on-failure --label-regex unit)

0 commit comments

Comments
 (0)