-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable tests with known failures and enable CI workflows
- Additionally make sure that we either use auto test discovery or run the complete executable, not both - Add an option to still run all the tests locally on demand
- Loading branch information
Showing
5 changed files
with
91 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Some of the tests currently fail when run under some sanitizers, ignore them | ||
# for now (but report that they have been ignored). This allows us to still run | ||
# this in CI | ||
|
||
# See: https://gitlab.kitware.com/cmake/community/-/wikis/doc/ctest/Testing-With-CTest#customizing-ctest | ||
|
||
# "Integration style tests" pretty much all have problems at the moment with any | ||
# sanitizer | ||
|
||
if ((NOT "@FORCE_RUN_ALL_TESTS@" STREQUAL "ON") AND (NOT "@USE_SANITIZER@" STREQUAL "")) | ||
set(CTEST_CUSTOM_TESTS_IGNORE | ||
${CTEST_CUSTOM_TESTS_IGNORE} | ||
|
||
write | ||
read | ||
read_and_write | ||
write_timed | ||
read_timed | ||
check_benchmark_outputs | ||
read-multiple | ||
|
||
write_sio | ||
read_sio | ||
read_and_write_sio | ||
write_timed_sio | ||
read_timed_sio | ||
check_benchmark_outputs_sio | ||
|
||
write_ascii | ||
|
||
ostream_operator | ||
relation_range | ||
|
||
pyunittest | ||
) | ||
|
||
# ostream_operator is working with Memory sanitizer (at least locally) | ||
if("@USE_SANITIZER@" MATCHES "Memory(WithOrigin)?") | ||
list(REMOVE_ITEM CTEST_CUSTOM_TESTS_IGNORE ostream_operator) | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters