From 169639e606929b9e98f7264035cd5c0a581ffb53 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 20 Sep 2010 14:28:13 -0700 Subject: 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. --- test/valgrind/default.supp | 0 test/valgrind/suppressions | 6 ++++++ test/valgrind/valgrind.sh | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) delete mode 100644 test/valgrind/default.supp create mode 100644 test/valgrind/suppressions (limited to 'test/valgrind') diff --git a/test/valgrind/default.supp b/test/valgrind/default.supp deleted file mode 100644 index e69de29b..00000000 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 \ -- cgit v1.2.3