Fix test name

This commit is contained in:
Jeremy Rifkin 2025-01-18 13:04:50 -06:00
parent 684392a0f3
commit 47029d59c7
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -484,11 +484,11 @@ find_package(Threads REQUIRED)
target_link_libraries(Multithreading PRIVATE Catch2::Catch2WithMain Threads::Threads) target_link_libraries(Multithreading PRIVATE Catch2::Catch2WithMain Threads::Threads)
target_compile_features(Multithreading PRIVATE cxx_std_11) target_compile_features(Multithreading PRIVATE cxx_std_11)
add_test( add_test(
NAME Reporters::Multithreading NAME Multithreading::Multithreading
COMMAND ${CMAKE_COMMAND} -E env $<TARGET_FILE:Multithreading> COMMAND ${CMAKE_COMMAND} -E env $<TARGET_FILE:Multithreading>
) )
set_tests_properties( set_tests_properties(
Reporters::Multithreading Multithreading::Multithreading
PROPERTIES PROPERTIES
PASS_REGULAR_EXPRESSION "passed" PASS_REGULAR_EXPRESSION "passed"
FAIL_REGULAR_EXPRESSION "ThreadSanitizer" FAIL_REGULAR_EXPRESSION "ThreadSanitizer"