From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: so-long tests Date: Sat, 13 Jul 2019 22:25:26 +1200 Message-ID: References: <83sgra1jn6.fsf@gnu.org> <1046d298-c0bc-a69f-39a7-011aa993c9da@orcon.net.nz> <83k1cm1h49.fsf@gnu.org> <83blxy1cdo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="110913"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 13 12:25:40 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmFDn-000Sgr-Tu for ged-emacs-devel@m.gmane.org; Sat, 13 Jul 2019 12:25:40 +0200 Original-Received: from localhost ([::1]:54412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmFDm-0008Oi-NW for ged-emacs-devel@m.gmane.org; Sat, 13 Jul 2019 06:25:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38196) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmFDe-0008Ob-Bq for emacs-devel@gnu.org; Sat, 13 Jul 2019 06:25:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmFDd-00009g-Cd for emacs-devel@gnu.org; Sat, 13 Jul 2019 06:25:30 -0400 Original-Received: from smtp-2.orcon.net.nz ([60.234.4.43]:55520) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmFDd-00005u-1x; Sat, 13 Jul 2019 06:25:29 -0400 Original-Received: from [116.251.203.142] (port=59708 helo=[192.168.20.103]) by smtp-2.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1hmFDa-0003hX-PO; Sat, 13 Jul 2019 22:25:26 +1200 In-Reply-To: <83blxy1cdo.fsf@gnu.org> Content-Language: en-US X-GeoIP: NZ X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 60.234.4.43 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:238555 Archived-At: On 13/07/19 10:01 PM, Eli Zaretskii wrote: > The inconvenient part of this arrangement is that I at least am in the > habit of typing "make lisp/foo-tests TAB" in the test/ directory after > making any changes to lisp/foo.el, and I normally take the lack of > completion to mean there are no tests for foo.el. Having to remember > to look in subdirectories is a burden. Your shell doesn't complete to the directory so-long-tests/ when you type TAB? (Bash does so for me.) I wonder whether the Makefile could be made to do-the-right-thing if "make lisp/foo-tests/" is used? It would make sense to me if running that command caused all the tests in that directory to run. That would then resolve this (in)convenience issue for *any* library, which would seem like the ideal solution to this problem. I don't really know my way around Makefiles, but perhaps someone who does will be able to comment? -Phil