diff options
author | hobbs <hobbs@noemail.net> | 2002-11-27 02:51:41 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2002-11-27 02:51:41 (GMT) |
commit | 4a2d31d852a9af8d2e0fe3d6990dfe7b110bad09 (patch) | |
tree | 12166326c5c9289ae38cad6f5aa55a4fca17b9de /unix/Makefile.in | |
parent | 0807acf3cc4637274a155c0c3c6e90af79dc3f2f (diff) | |
download | tcl-4a2d31d852a9af8d2e0fe3d6990dfe7b110bad09.zip tcl-4a2d31d852a9af8d2e0fe3d6990dfe7b110bad09.tar.gz tcl-4a2d31d852a9af8d2e0fe3d6990dfe7b110bad09.tar.bz2 |
add simple valgrind target
FossilOrigin-Name: 30a68bc5f515c7db25597505eec4fa6a6789f452
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r-- | unix/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index e2310ae..a255c24 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.119 2002/10/18 22:59:54 hobbs Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.120 2002/11/27 02:51:41 hobbs Exp $ VERSION = @TCL_VERSION@ MAJOR_VERSION = @TCL_MAJOR_VERSION@ @@ -535,6 +535,11 @@ ddd: tclsh $(DDD) -command=gdb.run ./tclsh rm gdb.run +valgrind: tclsh tcltest + @LD_LIBRARY_PATH_VAR@=`pwd`:${@LD_LIBRARY_PATH_VAR@}; export @LD_LIBRARY_PATH_VAR@; \ + TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ + valgrind --num-callers=8 --leak-resolution=high -v --leak-check=yes --show-reachable=yes $(VALGRINDARGS) ./tcltest $(TOP_DIR)/tests/all.tcl -singleproc 1 $(TESTFLAGS) $(TCLTESTARGS) + # The following target outputs the name of the top-level source directory # for Tcl (it is used by Tk's configure script, for example). The # .NO_PARALLEL line is needed to avoid problems under Sun's "pmake". |