]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
run-test.sh: Valgrind version check was broken for v3.10+, removed it entirely.
authorTimo Sirainen <tss@iki.fi>
Thu, 8 May 2014 07:21:56 +0000 (10:21 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 8 May 2014 07:21:56 +0000 (10:21 +0300)
RHEL 5.9 has valgrind v3.5 already, so there shouldn't really be any
important OSes using old valgrind that we need to support.

run-test.sh

index 2e2841df2e40c3ab0960c77c1450d37576581035..9c17212d19760852908d510b7c36a76fbf27d53c 100644 (file)
@@ -2,15 +2,8 @@
 
 trap "rm -f test.out.$$" 0 1 2 3 15
 
-if valgrind --version | grep '^valgrind-3.[012]'; then
-  # RHEL 5.4 still has Valgrind v3.2
-  valgrind -q --log-file-exactly=test.out.$$ $*
-  ret=$?
-else
-  # v3.3+
-  valgrind -q --log-file=test.out.$$ $*
-  ret=$?
-fi
+valgrind -q --log-file=test.out.$$ $*
+ret=$?
 if [ -s test.out.$$ ]; then
   cat test.out.$$
   exit 1