Permalink
Browse files

ctest: Set the memcheck suppression file correctly.

  • Loading branch information...
1 parent 27f1700 commit bcfab67daf09dda4aa71ea715ab999affdf67987 Andreas Schneider committed Dec 19, 2010
Showing with 3 additions and 3 deletions.
  1. +0 −3 CTestConfig.cmake
  2. +3 −0 tests/ctest-default.cmake
View
@@ -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")
@@ -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")

0 comments on commit bcfab67

Please sign in to comment.