From: Sebastian Harl Date: Mon, 19 May 2014 07:18:28 +0000 (+0200) Subject: tests: Suppress valgrind errors found in gcov_exit. X-Git-Tag: sysdb-0.1.0~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=25c2643acb01a296a647c5a3a71f8ee1e21fb6a9;p=sysdb.git tests: Suppress valgrind errors found in gcov_exit. They don't matter for us. --- diff --git a/t/testwrapper.sh b/t/testwrapper.sh index ccdbc6d..0659272 100755 --- a/t/testwrapper.sh +++ b/t/testwrapper.sh @@ -9,6 +9,7 @@ set -e MEMCHECK="valgrind --quiet --tool=memcheck --error-exitcode=1" MEMCHECK="$MEMCHECK --trace-children=yes" MEMCHECK="$MEMCHECK --leak-check=full" +MEMCHECK="$MEMCHECK --suppressions=$( dirname "$0" )/valgrind.suppress" case "$1" in *unit/*) diff --git a/t/valgrind.suppress b/t/valgrind.suppress new file mode 100644 index 0000000..2861b59 --- /dev/null +++ b/t/valgrind.suppress @@ -0,0 +1,9 @@ +{ + + Memcheck:Cond + fun:gcov_exit + fun:__run_exit_handlers + fun:exit + fun:srunner_run_all + fun:main +}