bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15991: 24.3.50; Wishlist: Make test suite user-friendlier


From: Eli Zaretskii
Subject: bug#15991: 24.3.50; Wishlist: Make test suite user-friendlier
Date: Thu, 26 Jun 2014 19:57:48 +0300

> From: Glenn Morris <rgm@gnu.org>
> Cc: 15991@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]