ctest: Set the memcheck suppression file correctly.

This commit is contained in:
Andreas Schneider 2010-12-19 16:30:23 +01:00
parent 27f170011e
commit bcfab67daf
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,5 @@
set(UPDATE_TYPE "true")
set(MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/tests/valgrind.supp)
#set(CTEST_CUSTOM_MEMCHECK_IGNORE torture_rand)
set(CTEST_PROJECT_NAME "libssh")
set(CTEST_NIGHTLY_START_TIME "01:00:00 CET")

View File

@ -7,11 +7,14 @@ set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
set(CTEST_BUILD_CONFIGURATION "Profiling")
set(CTEST_BUILD_OPTIONS "-DWITH_TESTING=ON -DWITH_SSH1=ON -WITH_SFTP=ON -DWITH_SERVER=ON -DWITH_ZLIB=ON -DWITH_PCAP=ON -DWITH_GCRYPT=OFF")
#set(CTEST_CUSTOM_MEMCHECK_IGNORE torture_rand)
set(WITH_MEMCHECK FALSE)
set(WITH_COVERAGE FALSE)
#######################################################################
set(MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/tests/valgrind.supp)
set(CTEST_SOURCE_DIRECTORY "${CTEST_DIRECTORY}/${CTEST_BUILD_NAME}/source")
set(CTEST_BINARY_DIRECTORY "${CTEST_DIRECTORY}/${CTEST_BUILD_NAME}/build")