blob: 02229ec24de8e1d38d40ae22d5c8c779d9348acf [file] [log] [blame]
njne43d3ae2003-05-05 13:04:49 +00001
25 May 2003
3
4Building and not installing it
5~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6To run Valgrind without having to install it, run coregrind/valgrind (prefix
7with "sh" because it's not executable) with the --in-place=<dir> option, where
8<dir> is the root of the source tree (and must be an absolute path). Eg:
9
10 sh ~/grind/head4/coregrind/valgrind --in-place=/homes/njn25/grind/head4
11
12This allows you to compile and run with "make" instead of "make install",
13saving you time.
14
15I recommend compiling with "make --quiet" to further reduce the amount of
16output spewed out during compilation, letting you actually see any errors,
17warnings, etc.
18
19
20Running the regression tests
21~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22To build and run all the regression tests, run "make [--quiet] regtest".
23
24To run a subset of the regression tests, execute:
25
26 perl tests/vg_regtest <name>
27
28where <name> is a directory (all tests within will be run) or a single
29.vgtest test file, or the name of a program which has a like-named .vgtest
30file. Eg:
31
32 perl tests/vg_regtest memcheck
33 perl tests/vg_regtest memcheck/tests/badfree.vgtest
34 perl tests/vg_regtest memcheck/tests/badfree
35