diff options
author | Andreas Schneider <mail@cynapses.org> | 2010-03-13 17:10:53 +0100 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2010-03-13 17:10:53 +0100 |
commit | 67c062e45e4afd6d3d032bf9546752ad4471f790 (patch) | |
tree | 7651a97e83db2418880c59e653a05e55a5031061 | |
parent | 4516e7bdcbec3fe38bb9f988f9fc9ba71589438e (diff) | |
download | libssh-67c062e45e4afd6d3d032bf9546752ad4471f790.tar.gz libssh-67c062e45e4afd6d3d032bf9546752ad4471f790.tar.xz libssh-67c062e45e4afd6d3d032bf9546752ad4471f790.zip |
Added a valgrind suppression file to ignore check errors.
-rw-r--r-- | CTestConfig.cmake | 2 | ||||
-rw-r--r-- | tests/valgrind.supp | 24 |
2 files changed, 25 insertions, 1 deletions
diff --git a/CTestConfig.cmake b/CTestConfig.cmake index 47f7eca6..22caa729 100644 --- a/CTestConfig.cmake +++ b/CTestConfig.cmake @@ -1,6 +1,6 @@ set(UPDATE_TYPE "true") -#set(MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/tests/valgrind.supp) +set(MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/tests/valgrind.supp) set(CTEST_PROJECT_NAME "libssh") set(CTEST_NIGHTLY_START_TIME "04:00:00 CET") diff --git a/tests/valgrind.supp b/tests/valgrind.supp new file mode 100644 index 00000000..cbda3245 --- /dev/null +++ b/tests/valgrind.supp @@ -0,0 +1,24 @@ +### CHECK +{ + check emalloc + Memcheck:Leak + fun:malloc + fun:emalloc +} + +{ + check setup_pipe + Memcheck:Leak + fun:malloc + fun:fdopen@@GLIBC_2.2.5 + fun:tmpfile@@GLIBC_2.2.5 + fun:setup_pipe +} + +{ + check erealloc + Memcheck:Leak + fun:realloc + fun:erealloc +} + |