mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Disable problematic test on Windows
This commit is contained in:
parent
9155a9ff20
commit
2d4f8ac8e6
@ -105,12 +105,19 @@ set_tests_properties(
|
|||||||
FAIL_REGULAR_EXPRESSION "abort;terminate;fatal"
|
FAIL_REGULAR_EXPRESSION "abort;terminate;fatal"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# The default handler on Windows leads to the just-in-time debugger firing,
|
||||||
|
# which makes this test unsuitable for CI and headless runs, as it opens
|
||||||
|
# up an interactive dialog.
|
||||||
|
if (NOT WIN32)
|
||||||
add_test(NAME CATCH_CONFIG_DISABLE_EXCEPTIONS-2 COMMAND DisabledExceptions-DefaultHandler "Tests that abort")
|
add_test(NAME CATCH_CONFIG_DISABLE_EXCEPTIONS-2 COMMAND DisabledExceptions-DefaultHandler "Tests that abort")
|
||||||
set_tests_properties(
|
set_tests_properties(
|
||||||
CATCH_CONFIG_DISABLE_EXCEPTIONS-2
|
CATCH_CONFIG_DISABLE_EXCEPTIONS-2
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
PASS_REGULAR_EXPRESSION "Catch will terminate"
|
PASS_REGULAR_EXPRESSION "Catch will terminate"
|
||||||
)
|
)
|
||||||
|
endif(NOT WIN32)
|
||||||
|
|
||||||
|
|
||||||
add_test(NAME CATCH_CONFIG_DISABLE_EXCEPTIONS-3 COMMAND DisabledExceptions-CustomHandler "Tests that run")
|
add_test(NAME CATCH_CONFIG_DISABLE_EXCEPTIONS-3 COMMAND DisabledExceptions-CustomHandler "Tests that run")
|
||||||
set_tests_properties(
|
set_tests_properties(
|
||||||
|
Loading…
Reference in New Issue
Block a user