Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-04-18 12:14:21 +0200
committerMartin Hořeňovský2022-04-18 12:14:21 +0200
commit90e69050505ff210ca29e1c9e8feaf598de4fc74 (patch)
treeb2bac911d029af8e5f13fbdc20eb5cc37a585f61
parent6bdc7e1a65313df21da1d87d9b5471a5a55452e1 (diff)
downloadcatch3-90e69050505ff210ca29e1c9e8feaf598de4fc74.tar.gz
Remove no longer used CATCH_USE_VALGRIND cmake option
-rw-r--r--CMakeLists.txt3
-rw-r--r--tests/CMakeLists.txt8
2 files changed, 0 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e6f880ad..9d6a407a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,9 +96,6 @@ if (CATCH_DEVELOPMENT_BUILD)
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)
#
#
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 77189d6f..5ea6b7cd 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -523,13 +523,5 @@ if (CATCH_ENABLE_CONFIGURE_TESTS)
endforeach()
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)
set(CATCH_WARNING_TARGETS ${CATCH_WARNING_TARGETS} PARENT_SCOPE)