From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Locations of Tests Date: Wed, 04 Nov 2015 20:07:01 +0100 Message-ID: <87mvuth9d6.fsf@gmx.de> References: <87d1vpoees.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1446664046 27057 80.91.229.3 (4 Nov 2015 19:07:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Nov 2015 19:07:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 04 20:07:18 2015 Return-path: Envelope-to: ged-emacs-devel@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 1Zu3Oq-0005rz-Kf for ged-emacs-devel@m.gmane.org; Wed, 04 Nov 2015 20:07:12 +0100 Original-Received: from localhost ([::1]:56682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu3Oq-0004lr-19 for ged-emacs-devel@m.gmane.org; Wed, 04 Nov 2015 14:07:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu3Ok-0004gy-Hs for emacs-devel@gnu.org; Wed, 04 Nov 2015 14:07:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu3Oh-00015Q-OD for emacs-devel@gnu.org; Wed, 04 Nov 2015 14:07:06 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:54763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu3Oh-00015L-Eb for emacs-devel@gnu.org; Wed, 04 Nov 2015 14:07:03 -0500 Original-Received: from detlef.gmx.de ([79.195.2.140]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MJBRC-1ZrJJH3HvG-002lUb for ; Wed, 04 Nov 2015 20:07:01 +0100 In-Reply-To: (John Wiegley's message of "Wed, 04 Nov 2015 12:53:23 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:BksjJTFOth2VivxGWLTGbzMcJDt3n1LvKL1UvPAK72u7LJ9/Y5a X8BInvNDkK+54q7lYWo9/qaONNpU2iXJ5nwXNyw660G9q2jeK17JBPCyxOfg0+2hJ4siX/U 7JAf8QuLFbnENOJLWkezJL3uK30rp3iv2qgg67abSLb6Mo4M5kHuV8s/3PxukTaX66ZeUeF p34exNMhOgdHchtJDTTDg== X-UI-Out-Filterresults: notjunk:1;V01:K0:BN05WVoPvk4=:1gA2YaC3TghK+KvH+fbGvf cCUN2312zzt5VzO4T+H3YK58tSQuB1e6JlUIQZac63KNaYmfFnwtTWtMdpysfqw0sL9kGRuSY 50LFtvjObuIQp3IkVosVGEH2OZPiYtO9/dhy0DRZQmMmjq6n8pRQGBrQvDk8F+tyueubhQlQW C4JhLUCb7Uft76LjqjDhQyvFToS+9uK3M5e4M9yyH/XQ/xzmgdq3GNkZVHQjuISO6myZ/3jD4 p+szRxNSrvQd/hU0tyDHnj3cAF5bWD4ttsHkZxhCQfhdOL3EnZFq/aW1Z492UuAQ/3vjZiRjR 3dlYz9nUGKvWwKutUdvaFZoWkCEK4B12+yE2fqU5BqRtqrVB/osfzv8cIMrOQVcmpo3CzUbSf GIqhsR3mMrjFgTKQAW2MAo9nVHaVLUlvpvp+zIlXiODsiP2VfMG3OUR/ewxYdC9JkSCOD0/8D pax6Ds0L+MS7OKtNfVr3WXDvA4OsXv278MOZ6FhuActqPBX59C6OQ0fIROJUwSBdfr/VexIMC CN6owth2WcJD/Ls4O07aiCBcz5mOOJqMuKaQcZhu5JIGdoc63xqh0aZujcO9BCCzOJX4cx9tL 6+dRLHwUVyMUnIAMgdcmJhOonsH0IsMADADsJOHmwBB31wBA2DznmC017C0e0ie8p7RhLaDn2 Ig++1k06bgmfu3uJ04LcHN/z0im4FrmF4bqC9ulH2X43u4JUahWcrcEKxnmRRwLdYwxE58hhQ Kpm1hFTzCRYuxzzTsKWXJRRu0O/lEPjrZBvdbx2naYG1H34Bv3FTqS8YWsySXVWibyi61j3g X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.19 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:193224 Archived-At: John Wiegley writes: >> So, we have thingatpt.el (as a test), file-notify-tests.el (for filenotify). >> There is also no reflection of the organisation of the lisp in the tests. >> So, elisp-mode-tests.el at top level, while elisp-mode.el is in >> lisp/progmodes. Similar issue with gnus-test.el and pcase.el. >> >> Is there an organisation for tests that I am unaware off? Would there be >> interest in a policy based on file name? > > Huge interest. There should be a purely mechanical way of going from a source > file in core, to the set of tests for that file. Then we could add M-x > emacs-lisp-jump-to-test. > > I'd happily accept a patch to move things into accordance with the naming > structure under lisp/. Before we rename everything, wouldn't a simple directive in the source file do the job? ;; Package-Tests: test/automated/file-notify-tests.el I don't know how much of the path name shall be included there. We have also files outside Emacs core, for example in Elpa. Here the path name could start at the package root directory: ;; Package-Tests: tests/stream-tests.el > John Best regards, Michael.