mirror of
https://github.com/catchorg/Catch2.git
synced 2025-01-22 08:43:29 +01:00
Fix test
This commit is contained in:
parent
83cbfb953a
commit
6829ced265
16
.github/workflows/linux-other-builds.yml
vendored
16
.github/workflows/linux-other-builds.yml
vendored
@ -68,6 +68,22 @@ jobs:
|
||||
cmake_configurations: -DMEMORYCHECK_COMMAND=`which valgrind` -DMEMORYCHECK_COMMAND_OPTIONS="-q --track-origins=yes --leak-check=full --num-callers=50 --show-leak-kinds=definite --error-exitcode=1"
|
||||
other_ctest_args: -T memcheck -LE uses-python
|
||||
|
||||
# Thread sanitizer test gcc-7
|
||||
- cxx: g++-7
|
||||
build_description: Thread sanitizer tests
|
||||
build_type: Debug
|
||||
std: 14
|
||||
other_pkgs: g++-7
|
||||
cmake_configurations: -DCATCH_BUILD_EXTRA_TESTS=ON -DCMAKE_CXX_FLAGS="-fsanitize=thread"
|
||||
|
||||
# Thread sanitizer test clang-10
|
||||
- cxx: clang++-10
|
||||
build_description: Thread sanitizer tests
|
||||
build_type: Debug
|
||||
std: 14
|
||||
other_pkgs: clang-10
|
||||
cmake_configurations: -DCATCH_BUILD_EXTRA_TESTS=ON -DCMAKE_CXX_FLAGS="-fsanitize=thread"
|
||||
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -491,12 +491,6 @@ set_tests_properties(
|
||||
PASS_REGULAR_EXPRESSION "passed"
|
||||
FAIL_REGULAR_EXPRESSION "ThreadSanitizer"
|
||||
)
|
||||
if (NOT WIN32)
|
||||
target_compile_options( Reporters::Multithreading
|
||||
PUBLIC
|
||||
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:GNU>,$<CXX_COMPILER_ID:AppleClang>>:-fsanitize=thread>
|
||||
)
|
||||
endif()
|
||||
|
||||
add_executable(AssertionStartingEventGoesBeforeAssertionIsEvaluated
|
||||
X20-AssertionStartingEventGoesBeforeAssertionIsEvaluated.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user