aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2014-06-28 10:18:05 -0700
committerGlenn Morris <[email protected]>2014-06-28 10:18:05 -0700
commit14202f05ac84869af2d839ba022ea983b7642770 (patch)
treee98fcae301df9b9792fc58c1b61823d5a5f0d108 /test
parent8eb6542f53f7fe9b682d11b15dd0346722db0ce3 (diff)
* test/automated/Makefile.in (GDB): New variable.
(emacs): Use $GDB. Fixes: debbugs:15991
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog3
-rw-r--r--test/automated/Makefile.in5
2 files changed, 7 insertions, 1 deletions
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 <[email protected]>
+ * 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