From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Locations of Tests Date: Wed, 04 Nov 2015 12:53:23 -0500 Message-ID: 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 1446659627 14176 80.91.229.3 (4 Nov 2015 17:53:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Nov 2015 17:53:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 04 18:53:46 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 1Zu2Fe-0002gH-F8 for ged-emacs-devel@m.gmane.org; Wed, 04 Nov 2015 18:53:38 +0100 Original-Received: from localhost ([::1]:56358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu2Fe-00021e-0V for ged-emacs-devel@m.gmane.org; Wed, 04 Nov 2015 12:53:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu2FZ-0001z4-LG for emacs-devel@gnu.org; Wed, 04 Nov 2015 12:53:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu2FW-0005TN-8q for emacs-devel@gnu.org; Wed, 04 Nov 2015 12:53:33 -0500 Original-Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:34316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu2FW-0005TA-4P for emacs-devel@gnu.org; Wed, 04 Nov 2015 12:53:30 -0500 Original-Received: by qkcn129 with SMTP id n129so23256120qkc.1 for ; Wed, 04 Nov 2015 09:53:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version:content-type; bh=i1gxT54TXNSZpFyCtuvrsSynn9R5IqpKJlkkyAHIkKs=; b=udeEKXxL1gA+pfsNUmN/fCddi2S9nlScJinq97TyzAQN8GMJ0uPbGr5zasSzDOXZ3F zr7dZcPxHXcRPscz+w6t7REDLLJCSBhh//uUKTLoJ9kVzjnfJ0CNw3iOneh2nTfbls/h 69zlqtGZJTxtxTg5g4g0KjhR3PBRBYRHZmhKEgNJzdSXocrY8fsOmwxXkFaHLbkw8ByH DzUwdAIIMzy8BInXkyAtA7tV5Uy4bqplThUCoL1N68UQIabI43PNLYj7d3+8pbq75r7q SNJ2hV3lcHUz+o0Y3vcAg4d7/Hazvmlbm9YSt2TgRz0VZ/fKjs1/LCuOPu2sTzr57got OGRg== X-Received: by 10.31.107.18 with SMTP id g18mr3207721vkc.6.1446659609718; Wed, 04 Nov 2015 09:53:29 -0800 (PST) Original-Received: from Hermes-2.local (74.sub-70-192-3.myvzw.com. [70.192.3.74]) by smtp.gmail.com with ESMTPSA id g16sm1584745vke.11.2015.11.04.09.53.27 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 04 Nov 2015 09:53:28 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Hermes-2.local (Postfix, from userid 501) id 3AE6348DEEF7; Wed, 4 Nov 2015 12:53:27 -0500 (EST) In-Reply-To: <87d1vpoees.fsf@russet.org.uk> (Phillip Lord's message of "Wed, 04 Nov 2015 17:36:11 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Mail-Followup-To: phillip.lord@russet.org.uk (Phillip Lord), emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c09::236 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:193219 Archived-At: >>>>> Phillip Lord 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/. John