Skip to content

Commit

Permalink
Fix Unicode test timeout (for real this time!) (#3614)
Browse files Browse the repository at this point in the history
* Use TIMEOUT instead of TIMEOUT_AFTER_MATCH to set test timeout
  • Loading branch information
falbrechtskirchinger authored Jul 28, 2022
1 parent 2d48a4d commit 5520761
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5520761

Please sign in to comment.