GNU bug report logs -
#15991
24.3.50; Wishlist: Make test suite user-friendlier
Previous Next
Reported by: Eli Zaretskii <eliz <at> gnu.org>
Date: Thu, 28 Nov 2013 20:06:02 UTC
Severity: wishlist
Found in version 24.3.50
Fixed in version 25.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #32 received at 15991 <at> debbugs.gnu.org (full text, mbox):
> From: Glenn Morris <rgm <at> gnu.org>
> Cc: 15991 <at> debbugs.gnu.org
> Date: Thu, 26 Jun 2014 12:44:10 -0400
>
>
> > Also, suppose one needs to run Emacs under a debugger for running a
> > test -- there doesn't seem to be a convenient way of doing that,
> > either. Once again, start Emacs manually in GDB, then copy/paste the
> > command line there, and be sure to set the environment variables, like
> > EMACS_TEST_DIRECTORY before starting GDB. Wait, and what if the test
> > forks, and you need to attach GDB to the correct Emacs process?
>
> (But none of the Emacs Makefiles provide any such gdb facility?)
Most Emacs programs are interactive, so it's relatively easy to run
them under a debugger. The test suite runs Emacs with a non-trivial
and quite long command line, so it's harder.
> All I can suggest here is that the Makefile define a GDB variable,
> normally empty, that you can set to "gdb" on the make command-line when
> you want to.
I guess it would be OK, if $GDB could be set to "gdb --args". Thanks.
This bug report was last modified 10 years and 288 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.