From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Run (some) tests more automagically? Date: Sun, 21 Feb 2021 17:37:38 +0200 Message-ID: <83h7m5xwhp.fsf@gnu.org> References: <87v9alk0xi.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6328"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 21 16:38:50 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lDqos-0001ZV-4S for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Feb 2021 16:38:50 +0100 Original-Received: from localhost ([::1]:51862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDqor-0001Mv-3e for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Feb 2021 10:38:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDqnw-0000sx-6g for emacs-devel@gnu.org; Sun, 21 Feb 2021 10:37:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36209) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDqnv-0003vE-Oh; Sun, 21 Feb 2021 10:37:51 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4888 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lDqnv-00047L-Ce; Sun, 21 Feb 2021 10:37:51 -0500 In-Reply-To: <87v9alk0xi.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 21 Feb 2021 14:25:29 +0100) 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:265395 Archived-At: > From: Lars Ingebrigtsen > Date: Sun, 21 Feb 2021 14:25:29 +0100 > > So here's today's not-thought-out-at-all idea: Since tests for > lisp/foo.el live in test/lisp/foo-tests.el, could we add some Makefile > magic to automatically run foo-tests.el if lisp/foo.el has been changed? We need to run every test that uses any function in foo.el, not just foo-tests.el. This should be "maintainer-only" features, so that users who just build their own Emacs won't be forced to run the test suite.