Browse code

disable valgrind tests by default due to false positives from system libraries. They can be activated by using make check VG=1. (bb #1307, bb #1308, bb #1311).

git-svn: trunk@4555

Török Edvin authored on 2008/12/12 23:56:36
Showing 2 changed files
... ...
@@ -1,3 +1,9 @@
1
+Fri Dec 12 17:04:33 EET 2008 (edwin)
2
+------------------------------------
3
+ * unit_tests/valgrind_tests.sh: disable valgrind tests by default
4
+ due to false positives from system libraries.  They can be activated
5
+ by using make check VG=1. (bb #1307, bb #1308, bb #1311).
6
+
1 7
 Fri Dec 12 10:49:37 EET 2008 (edwin)
2 8
 ------------------------------------
3 9
  * libclamav/Makefile.am, libclamav/Makefile.in: fix last commit
... ...
@@ -7,6 +7,7 @@
7 7
 # leaks to be reported by valgrind if there are any.
8 8
 # 
9 9
 
10
+test "x$VG" = "x1" || { echo "*** valgrind tests skipped by default, use 'make check VG=1' to activate"; exit 77; }
10 11
 VALGRIND=`which ${VALGRIND-valgrind}`
11 12
 test -n "$VALGRIND" || { echo "*** valgrind not found, skipping test"; exit 77; }
12 13
 test -x "$VALGRIND" || { echo "*** valgrind not executable, skipping test"; exit 77; }