From: Dotsenko Andrey Date: Sun, 6 Nov 2016 07:47:03 +0000 (+0300) Subject: Allow tests to be checked with Valgrind via ctest X-Git-Tag: 0.11.0~10^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9eaebf942e6f276375e8a68025b3fe452d7bd02;p=check Allow tests to be checked with Valgrind via ctest If some tests have segmentation faults those could be located with "ctest -D ExperimentalMemCheck". --- diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 6e80679..27ad1bf 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -40,6 +40,8 @@ endif(WIN32) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test_vars.in ${CMAKE_CURRENT_BINARY_DIR}/test_vars) +include(CTest) + set(CHECK_CHECK_SOURCES check_check_exit.c check_check_fixture.c