mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Remove no longer used CATCH_USE_VALGRIND cmake option
This commit is contained in:
parent
6bdc7e1a65
commit
90e6905050
@ -96,9 +96,6 @@ if (CATCH_DEVELOPMENT_BUILD)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
#option(CATCH_USE_VALGRIND "Perform SelfTests with Valgrind" OFF)
|
|
||||||
#option(CATCH_ENABLE_WERROR "Enable all warnings as errors" ON)
|
|
||||||
#
|
|
||||||
#set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
#set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
@ -523,13 +523,5 @@ if (CATCH_ENABLE_CONFIGURE_TESTS)
|
|||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CATCH_USE_VALGRIND)
|
|
||||||
add_test(NAME ValgrindRunTests COMMAND valgrind --leak-check=full --error-exitcode=1 $<TARGET_FILE:SelfTest>)
|
|
||||||
add_test(NAME ValgrindListTests COMMAND valgrind --leak-check=full --error-exitcode=1 $<TARGET_FILE:SelfTest> --list-tests --verbosity high)
|
|
||||||
set_tests_properties(ValgrindListTests PROPERTIES PASS_REGULAR_EXPRESSION "definitely lost: 0 bytes in 0 blocks")
|
|
||||||
add_test(NAME ValgrindListTags COMMAND valgrind --leak-check=full --error-exitcode=1 $<TARGET_FILE:SelfTest> --list-tags)
|
|
||||||
set_tests_properties(ValgrindListTags PROPERTIES PASS_REGULAR_EXPRESSION "definitely lost: 0 bytes in 0 blocks")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
list(APPEND CATCH_WARNING_TARGETS SelfTest)
|
list(APPEND CATCH_WARNING_TARGETS SelfTest)
|
||||||
set(CATCH_WARNING_TARGETS ${CATCH_WARNING_TARGETS} PARENT_SCOPE)
|
set(CATCH_WARNING_TARGETS ${CATCH_WARNING_TARGETS} PARENT_SCOPE)
|
||||||
|
Loading…
Reference in New Issue
Block a user