mirror of
https://github.com/nlohmann/json.git
synced 2024-11-23 22:19:02 +08:00
Fix Unicode test timeout (for real this time!) (#3614)
* Use TIMEOUT instead of TIMEOUT_AFTER_MATCH to set test timeout
This commit is contained in:
parent
2d48a4d9c5
commit
5520761433
@ -86,10 +86,8 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
#json_test_set_test_options(test-disabled_exceptions COMPILE_DEFINITIONS _HAS_EXCEPTIONS=0 COMPILE_OPTIONS /EH)
|
||||
endif()
|
||||
|
||||
# set timeouts for Unicode tests
|
||||
json_test_set_test_options("test-unicode2;test-unicode3;test-unicode4;test-unicode5"
|
||||
TEST_PROPERTIES "TIMEOUT_AFTER_MATCH;1500$<SEMICOLON>UTF-8 strings checked"
|
||||
)
|
||||
# raise timeout of expensive Unicode test
|
||||
json_test_set_test_options(test-unicode4 TEST_PROPERTIES TIMEOUT 3000)
|
||||
|
||||
#############################################################################
|
||||
# add unit tests
|
||||
|
Loading…
Reference in New Issue
Block a user