diff options
author | Carl Worth <cworth@cworth.org> | 2010-09-20 14:28:13 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-09-20 14:28:13 -0700 |
commit | 169639e606929b9e98f7264035cd5c0a581ffb53 (patch) | |
tree | b8956bf92827d553e45b91d98cb24e84e4a23123 /test/valgrind | |
parent | 029a105da35f53d758713a06e90bb10b25f1003a (diff) |
test: Make the --valgrind option useful, (and drop --verbose).
In order for --valgrind to be useful, we drop noisy additional output of
all of the commands being executed in verbose mode. This makes --verbose
alone quite useless, so we don't document it any more.
Also, add a zlib valgrind suppression that was showing up frequently in the
test suite.
Diffstat (limited to 'test/valgrind')
-rw-r--r-- | test/valgrind/default.supp | 0 | ||||
-rw-r--r-- | test/valgrind/suppressions | 6 | ||||
-rwxr-xr-x | test/valgrind/valgrind.sh | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/test/valgrind/default.supp b/test/valgrind/default.supp deleted file mode 100644 index e69de29b..00000000 --- a/test/valgrind/default.supp +++ /dev/null diff --git a/test/valgrind/suppressions b/test/valgrind/suppressions new file mode 100644 index 00000000..6abf8b2f --- /dev/null +++ b/test/valgrind/suppressions @@ -0,0 +1,6 @@ +{ + zlib inflation uses uninitialize values + Memcheck:Cond + fun:inflateReset2 + fun:inflateInit2_ +}
\ No newline at end of file diff --git a/test/valgrind/valgrind.sh b/test/valgrind/valgrind.sh index 582b4dca..3bc90f5c 100755 --- a/test/valgrind/valgrind.sh +++ b/test/valgrind/valgrind.sh @@ -13,7 +13,7 @@ TRACK_ORIGINS=--track-origins=yes exec valgrind -q --error-exitcode=126 \ --leak-check=no \ - --suppressions="$GIT_VALGRIND/default.supp" \ + --suppressions="$GIT_VALGRIND/suppressions" \ --gen-suppressions=all \ $TRACK_ORIGINS \ --log-fd=4 \ |