Increase timeout of test-unicode_all in Debug build
This commit is contained in:
parent
ec43d27f9f
commit
4ac0fe2628
1 changed files with 6 additions and 0 deletions
|
@ -133,6 +133,12 @@ foreach(file ${files})
|
|||
)
|
||||
set_tests_properties("${testcase}_all" PROPERTIES LABELS "all")
|
||||
|
||||
# Increase timeout for test-unicode_all on Debug build
|
||||
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
|
||||
if (("${testcase}" STREQUAL "test-unicode") AND (uppercase_CMAKE_BUILD_TYPE STREQUAL DEBUG))
|
||||
set_tests_properties("${testcase}_all" PROPERTIES TIMEOUT 3600)
|
||||
endif()
|
||||
|
||||
if(JSON_Valgrind)
|
||||
add_test(NAME "${testcase}_valgrind"
|
||||
COMMAND ${memcheck_command} ${CMAKE_CURRENT_BINARY_DIR}/${testcase} ${DOCTEST_TEST_FILTER}
|
||||
|
|
Loading…
Reference in a new issue