mirror of
https://github.com/nlohmann/json
synced 2024-11-12 23:40:05 +00:00
Increase timeout of test-unicode_all in Debug build
This commit is contained in:
parent
ec43d27f9f
commit
4ac0fe2628
@ -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 New Issue
Block a user