Skip to content

Commit

Permalink
Fortity test suite
Browse files Browse the repository at this point in the history
Compile tests with _LIBCPP_ENABLE_ASSERTIONS and _GLIBCXX_ASSERTIONS to
allow standard libraries to perform additional checks.
  • Loading branch information
Morwenn committed Jan 28, 2024
1 parent 25443c7 commit 8f64b39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ macro(configure_tests target)
target_compile_definitions(${target} PRIVATE
# Somewhat speed up Catch2 compile times
CATCH_CONFIG_FAST_COMPILE
# Enable assertions for more thorough tests
# Fortify test suite for more thorough checks
_GLIBCXX_ASSERTIONS
_LIBCPP_ENABLE_ASSERTIONS=1
GFX_TIMSORT_ENABLE_ASSERT
)

Expand Down

0 comments on commit 8f64b39

Please # to comment.