diff options
author | Ken Raeburn <raeburn@mit.edu> | 2006-10-13 23:54:24 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2006-10-13 23:54:24 +0000 |
commit | 2720291460e1e211be215fddb8096e3ed1d9bb28 (patch) | |
tree | b4756498450fc19aba40eb171dbffb91791a9582 /src/lib/crypto/Makefile.in | |
parent | c59d1c439d08bde8e10f6a9e73ad753f7968503c (diff) | |
download | krb5-2720291460e1e211be215fddb8096e3ed1d9bb28.zip krb5-2720291460e1e211be215fddb8096e3ed1d9bb28.tar.gz krb5-2720291460e1e211be215fddb8096e3ed1d9bb28.tar.bz2 |
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
Diffstat (limited to 'src/lib/crypto/Makefile.in')
-rw-r--r-- | src/lib/crypto/Makefile.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/crypto/Makefile.in b/src/lib/crypto/Makefile.in index c14fedd..cf8ba45 100644 --- a/src/lib/crypto/Makefile.in +++ b/src/lib/crypto/Makefile.in @@ -179,13 +179,13 @@ libcrypto.lib: clean-unix:: clean-liblinks clean-libs clean-libobjs check-unix:: t_nfold t_encrypt t_prf t_prng t_hmac t_pkcs5 - $(RUN_SETUP) ./t_nfold - $(RUN_SETUP) ./t_encrypt - $(RUN_SETUP) ./t_prng <$(srcdir)/t_prng.seed >t_prng.output && \ + $(RUN_SETUP) $(VALGRIND) ./t_nfold + $(RUN_SETUP) $(VALGRIND) ./t_encrypt + $(RUN_SETUP) $(VALGRIND) ./t_prng <$(srcdir)/t_prng.seed >t_prng.output && \ diff t_prng.output $(srcdir)/t_prng.expected - $(RUN_SETUP) ./t_hmac + $(RUN_SETUP) $(VALGRIND) ./t_hmac -# $(RUN_SETUP) ./t_pkcs5 +# $(RUN_SETUP) $(VALGRIND) ./t_pkcs5 t_nfold$(EXEEXT): t_nfold.$(OBJEXT) nfold.$(OBJEXT) $(SUPPORT_DEPLIB) $(CC_LINK) -o $@ t_nfold.$(OBJEXT) nfold.$(OBJEXT) $(SUPPORT_LIB) |