From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#26337: 26.0.50; Command to run tests with latest source Date: Sun, 02 Apr 2017 11:27:52 -0400 Message-ID: References: <87vaqnnzth.fsf@calancha-pc> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1491146968 17299 195.159.176.226 (2 Apr 2017 15:29:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Apr 2017 15:29:28 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 26337@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 02 17:29:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuhRA-00020o-OR for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Apr 2017 17:29:04 +0200 Original-Received: from localhost ([::1]:55409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuhRF-00053z-2y for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Apr 2017 11:29:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuhR9-00053j-04 for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2017 11:29:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuhR8-0000Xf-6q for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2017 11:29:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59436) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cuhR8-0000XU-3Q for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2017 11:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cuhR7-0004yY-Tm for bug-gnu-emacs@gnu.org; Sun, 02 Apr 2017 11:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Apr 2017 15:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26337 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26337-submit@debbugs.gnu.org id=B26337.149114688319060 (code B ref 26337); Sun, 02 Apr 2017 15:29:01 +0000 Original-Received: (at 26337) by debbugs.gnu.org; 2 Apr 2017 15:28:03 +0000 Original-Received: from localhost ([127.0.0.1]:57635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuhQB-0004xM-8G for submit@debbugs.gnu.org; Sun, 02 Apr 2017 11:28:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuhQA-0004wt-Hq for 26337@debbugs.gnu.org; Sun, 02 Apr 2017 11:28:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuhQ4-0008F3-RX for 26337@debbugs.gnu.org; Sun, 02 Apr 2017 11:27:57 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuhQ1-0008ER-Hr; Sun, 02 Apr 2017 11:27:53 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cuhQ0-0003g2-Hw; Sun, 02 Apr 2017 11:27:52 -0400 X-Spook: DES Cyber security Ceridian H1N1 U.S. Citizenship and X-Ran: EdHZ}^XgUPI?6slmu7iX+@Oes=sm$>%znZgX5k|f-$=fsH:!a%_Q&@l%2ZaGlT{oiq=oDj X-Hue: blue X-Attribution: GM In-Reply-To: <87vaqnnzth.fsf@calancha-pc> (Tino Calancha's message of "Sun, 02 Apr 2017 14:28:10 +0900") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:131214 Archived-At: Tino Calancha wrote: > I often while debugging follow this workflow: > > 1) Make some changes in one branch. > 2) Compile Emacs. > 3) Run one test file with: > M-& emacs -batch -l ert -l ? -f ert-run-tests-batch-and-exit RET I use make for step 3. It seems natural after using it in step 2. Eg cd test make lisp/vc/ediff-ptch-tests.log (till yesterday, it used to work without ".log" as well - see emacs-devel) The test file names are completable using whatever your shell uses for file name completion (eg alt-/ in bash). In emacs-25 they are completable with bash TAB completion (from bash Makefile completion), which was nicer. So personally I'm not sure I see the need to add an autoloaded ert command to do this.