diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | unix/Makefile.in | 9 |
2 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2005-11-09 Donal K. Fellows <donal.k.fellows@manchester.ac.uk> + + * unix/Makefile.in (gdb-test): Added a new target to make it easier to + run the test suite inside a debugger. + 2005-11-08 Don Porter <dgp@users.sourceforge.net> * tests/compExpr-old.test: Updated tests with changed behavior 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@; \ |