mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
in it, much of it from 1.0.X days. Did it in such a way that if it doesn't get touched (and it undoubtedly won't) it won't really go out of date, eg. by removing temporary details like version numbers, dates, details of specific software incompatibilities. It's much better to be vague but correct, than precise but incorrect; having incorrect info in a file as important as the README is bad. Also removed the README_KDE3_FOLKS file because it's pretty redundant now. Also added some changes that had been made in the stable branch but not the HEAD. Did similar, but smaller changes to README_DEVELOPERS and README_PACKAGERS. Also updated the valgrind.spec.in file to use the new, post-1.0.X description in the README. Also fixed a minor omission in Addrcheck's docs. MERGE TO STABLE git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2089
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
|
|
Building and not installing it
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
To run Valgrind without having to install it, run coregrind/valgrind (prefix
|
|
with "sh" because it's not executable) with the --in-place=<dir> option, where
|
|
<dir> is the root of the source tree (and must be an absolute path). Eg:
|
|
|
|
sh ~/grind/head4/coregrind/valgrind --in-place=/homes/njn25/grind/head4
|
|
|
|
This allows you to compile and run with "make" instead of "make install",
|
|
saving you time.
|
|
|
|
I recommend compiling with "make --quiet" to further reduce the amount of
|
|
output spewed out during compilation, letting you actually see any errors,
|
|
warnings, etc.
|
|
|
|
|
|
Running the regression tests
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
To build and run all the regression tests, run "make [--quiet] regtest".
|
|
|
|
To run a subset of the regression tests, execute:
|
|
|
|
perl tests/vg_regtest <name>
|
|
|
|
where <name> is a directory (all tests within will be run) or a single
|
|
.vgtest test file, or the name of a program which has a like-named .vgtest
|
|
file. Eg:
|
|
|
|
perl tests/vg_regtest memcheck
|
|
perl tests/vg_regtest memcheck/tests/badfree.vgtest
|
|
perl tests/vg_regtest memcheck/tests/badfree
|
|
|