From: Glenn Morris Date: Sat, 28 Jun 2014 17:18:05 +0000 (-0700) Subject: * test/automated/Makefile.in (GDB): New variable. X-Git-Tag: emacs-25.0.90~2636^2~74^2~22 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14202f05ac84869af2d839ba022ea983b7642770;p=emacs.git * test/automated/Makefile.in (GDB): New variable. (emacs): Use $GDB. Fixes: debbugs:15991 --- diff --git a/test/ChangeLog b/test/ChangeLog index fca8c2bb1d7..c9bfc54bd8d 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,5 +1,8 @@ 2014-06-28 Glenn Morris + * automated/Makefile.in (GDB): New variable. + (emacs): Use $GDB. (Bug#15991) + * automated/Makefile.in (WRITE_LOG): New variable. (%.log): Use WRITE_LOG. (test_template): Disable logging. diff --git a/test/automated/Makefile.in b/test/automated/Makefile.in index b769ead7bc9..e0eaffa4c2c 100644 --- a/test/automated/Makefile.in +++ b/test/automated/Makefile.in @@ -47,9 +47,12 @@ EMACSOPT = -batch --no-site-file --no-site-lisp -L "$(SEPCHAR)$(srcdir)" # Prevent any settings in the user environment causing problems. unexport EMACSDATA EMACSDOC EMACSPATH GREP_OPTIONS +## To run tests under a debugger, set this to eg: "gdb --args". +GDB = + # The actual Emacs command run in the targets below. # Prevent any setting of EMACSLOADPATH in user environment causing problems. -emacs = EMACSLOADPATH= LC_ALL=C EMACS_TEST_DIRECTORY=$(srcdir) "$(EMACS)" $(EMACSOPT) +emacs = EMACSLOADPATH= LC_ALL=C EMACS_TEST_DIRECTORY=$(srcdir) $(GDB) "$(EMACS)" $(EMACSOPT) .PHONY: all check