From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15991: 24.3.50; Wishlist: Make test suite user-friendlier Date: Thu, 26 Jun 2014 19:57:48 +0300 Message-ID: <8361jnpq0j.fsf@gnu.org> References: <83pppk8f91.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1403801971 23991 80.91.229.3 (26 Jun 2014 16:59:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2014 16:59:31 +0000 (UTC) Cc: 15991@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 26 18:59:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X0D14-0000Bv-EW for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jun 2014 18:59:18 +0200 Original-Received: from localhost ([::1]:46037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0D14-0004ek-3l for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jun 2014 12:59:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0D0u-0004Vr-Os for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2014 12:59:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0D0o-00069o-5G for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2014 12:59:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0D0o-00069k-2X for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2014 12:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X0D0n-0001kF-Kc for bug-gnu-emacs@gnu.org; Thu, 26 Jun 2014 12:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Jun 2014 16:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15991-submit@debbugs.gnu.org id=B15991.14038019006605 (code B ref 15991); Thu, 26 Jun 2014 16:59:01 +0000 Original-Received: (at 15991) by debbugs.gnu.org; 26 Jun 2014 16:58:20 +0000 Original-Received: from localhost ([127.0.0.1]:33938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0D03-0001iI-VJ for submit@debbugs.gnu.org; Thu, 26 Jun 2014 12:58:19 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:55452) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X0Czx-0001hm-VK for 15991@debbugs.gnu.org; Thu, 26 Jun 2014 12:58:14 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0N7S00E00BZ14700@mtaout26.012.net.il> for 15991@debbugs.gnu.org; Thu, 26 Jun 2014 19:54:07 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N7S00DQCCA7OW10@mtaout26.012.net.il>; Thu, 26 Jun 2014 19:54:07 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90851 Archived-At: > From: Glenn Morris > 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.