From 14202f05ac84869af2d839ba022ea983b7642770 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 28 Jun 2014 10:18:05 -0700 Subject: [PATCH] * test/automated/Makefile.in (GDB): New variable. (emacs): Use $GDB. Fixes: debbugs:15991 --- test/ChangeLog | 3 +++ test/automated/Makefile.in | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/test/ChangeLog b/test/ChangeLog index fca8c2bb1d..c9bfc54bd8 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 b769ead7bc..e0eaffa4c2 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 -- 2.20.1