Use $(VALGRIND) when running programs using $(KRB5_RUN_ENV) or
authorKen Raeburn <raeburn@mit.edu>
Fri, 13 Oct 2006 23:54:24 +0000 (23:54 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 13 Oct 2006 23:54:24 +0000 (23:54 +0000)
commit2720291460e1e211be215fddb8096e3ed1d9bb28
treeb4756498450fc19aba40eb171dbffb91791a9582
parentc59d1c439d08bde8e10f6a9e73ad753f7968503c
Use $(VALGRIND) when running programs using $(KRB5_RUN_ENV) or
$(RUN_SETUP).  Replaces old hack with MAYBE_VALGRIND added to RUN_ENV
in a way that would break in some of the tests.

Set VALGRIND in site.exp in tests/dejagnu.  (Not used yet.)

Runs some shell scripts under valgrind, rather than changing them to
run only the executables under valgrind; this is mostly okay, just
creates lots of extra log data, and requires --trace-children=yes.

This should work for any instrumentation program invocation that gets
followed immediately by the name and argument list for the program
being instrumented.  For example, VALGRIND="env LD_PRELOAD=..." should
work, though I haven't tested it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18699 dc483132-0cff-0310-8789-dd5450dbe970
26 files changed:
src/appl/libpty/Makefile.in
src/config/pre.in
src/config/shlib.conf
src/kdc/Makefile.in
src/lib/crypto/Makefile.in
src/lib/crypto/aes/Makefile.in
src/lib/crypto/crc32/Makefile.in
src/lib/crypto/des/Makefile.in
src/lib/crypto/keyhash_provider/Makefile.in
src/lib/crypto/md4/Makefile.in
src/lib/crypto/md5/Makefile.in
src/lib/crypto/sha1/Makefile.in
src/lib/des425/Makefile.in
src/lib/krb5/ccache/Makefile.in
src/lib/krb5/krb/Makefile.in
src/lib/krb5/os/Makefile.in
src/plugins/kdb/db2/libdb2/test/Makefile.in
src/tests/Makefile.in
src/tests/asn.1/Makefile.in
src/tests/dejagnu/Makefile.in
src/tests/misc/Makefile.in
src/tests/resolve/Makefile.in
src/tests/shlib/Makefile.in
src/tests/threads/Makefile.in
src/util/et/Makefile.in
src/util/profile/Makefile.in