diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2005-11-09 00:11:48 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2005-11-09 00:11:48 (GMT) |
commit | feb2307f294cedbe38b33babfd6f51f955635855 (patch) | |
tree | 6780d3c23e699f1be39cef76e6e1f82e71769723 /unix | |
parent | 0858363994f17b11098d2b124fdce2c97873dfe3 (diff) | |
download | tcl-feb2307f294cedbe38b33babfd6f51f955635855.zip tcl-feb2307f294cedbe38b33babfd6f51f955635855.tar.gz tcl-feb2307f294cedbe38b33babfd6f51f955635855.tar.bz2 |
Added target to make it easier to debug crashing tests.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 9553d8b..eed5caf 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.175 2005/11/04 20:31:22 kennykb Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.176 2005/11/09 00:11:49 dkf Exp $ VERSION = @TCL_VERSION@ MAJOR_VERSION = @TCL_MAJOR_VERSION@ @@ -597,6 +597,13 @@ test: tcltest TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \ ./tcltest $(TOP_DIR)/tests/all.tcl $(TESTFLAGS) +gdb-test: tcltest + @echo "set env @LD_LIBRARY_PATH_VAR@=`pwd`:$${@LD_LIBRARY_PATH_VAR@}" > gdb.run + @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run + @echo "set args $(TOP_DIR)/tests/all.tcl $(TESTFLAGS) -singleproc 1" >> gdb.run + $(GDB) ./tcltest --command=gdb.run + rm gdb.run + # Useful target to launch a built tcltest with the proper path,... runtest: tcltest @LD_LIBRARY_PATH_VAR@=`pwd`:$${@LD_LIBRARY_PATH_VAR@}; export @LD_LIBRARY_PATH_VAR@; \ |