Commit 4ac0fe26 authored by Isaac Nickaein's avatar Isaac Nickaein

Increase timeout of test-unicode_all in Debug build

parent ec43d27f
...@@ -133,6 +133,12 @@ foreach(file ${files}) ...@@ -133,6 +133,12 @@ foreach(file ${files})
) )
set_tests_properties("${testcase}_all" PROPERTIES LABELS "all") 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) if(JSON_Valgrind)
add_test(NAME "${testcase}_valgrind" add_test(NAME "${testcase}_valgrind"
COMMAND ${memcheck_command} ${CMAKE_CURRENT_BINARY_DIR}/${testcase} ${DOCTEST_TEST_FILTER} COMMAND ${memcheck_command} ${CMAKE_CURRENT_BINARY_DIR}/${testcase} ${DOCTEST_TEST_FILTER}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment