File: README.memory-checking

package info (click to toggle)
bogofilter 1.2.5-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 5,896 kB
  • sloc: ansic: 35,768; sh: 8,350; perl: 2,320; xml: 1,381; makefile: 751; lex: 483; lisp: 179; asm: 11
file content (14 lines) | stat: -rw-r--r-- 560 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Bogofilter's test suite has support for several memory access/leak
checking tools, namely Valgrind ("valgrind"), Electric Fence ("efence"),
GNU libc ("glibc", default), and the Boehm-Demers-Weiser Conservative
Garbage Collector ("boehm-gc").

To enable one of these, just add BF_CHECKTOOL=tool to your make check
command line, example:

make check BF_TESTDIR=/tmp BF_CHECKTOOL=boehm-gc

If a leak checker is enabled, t.leakfind is a simple smoke test, it
should PASS. If no leak checker is enabled, t.leakfind will report SKIP.

-- Matthias Andree, 2005-01-03