From a9eaebf942e6f276375e8a68025b3fe452d7bd02 Mon Sep 17 00:00:00 2001 From: Dotsenko Andrey Date: Sun, 6 Nov 2016 10:47:03 +0300 Subject: [PATCH] Allow tests to be checked with Valgrind via ctest If some tests have segmentation faults those could be located with "ctest -D ExperimentalMemCheck". --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.40.0