Index: Makefile.in =================================================================== diff -u -rd6b5b0c4055205d54d3cffa4654b13da05aeb7ab -rc8a09636edcee701d15c559dafaed307e1a9eb56 --- Makefile.in (.../Makefile.in) (revision d6b5b0c4055205d54d3cffa4654b13da05aeb7ab) +++ Makefile.in (.../Makefile.in) (revision c8a09636edcee701d15c559dafaed307e1a9eb56) @@ -174,6 +174,8 @@ # DTRACE = dtrace # +VALGRIND = valgrind +VALGRINDARGS = --tool=memcheck --num-callers=8 --leak-resolution=high --leak-check=yes --show-reachable=yes -v # Not used, but retained for reference of what libs Tcl required TCL_LIBS = @TCL_LIBS@ @@ -473,6 +475,9 @@ gdb: $(TCLSH_ENV) gdb $(TCLSH_PROG) $(SCRIPT) +valgrind: TCLSH = $(TCLSH_ENV) $(VALGRIND) $(VALGRINDARGS) $(TCLSH_PROG) +valgrind: test + test: binaries libraries test-core test-xotcl test-http @test_actiweb@ test-nohttp: binaries libraries test-core test-xotcl