From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: unit test framework Date: Fri, 23 Jul 2010 23:58:20 +0200 Message-ID: References: <20100318.163911.560917315840337376.yamato@redhat.com> <4C1323F5.80301@fastmail.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279922326 9093 80.91.229.12 (23 Jul 2010 21:58:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2010 21:58:46 +0000 (UTC) Cc: Nikolaj Schumacher , web@shellarchive.co.uk, Lennart Borgman , Masatake YAMATO , joakim@verona.se, emacs-devel@gnu.org, rubikitch , Phil Hagelberg To: Christian Ohler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 23 23:58:43 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OcQGP-00074C-3M for ged-emacs-devel@m.gmane.org; Fri, 23 Jul 2010 23:58:41 +0200 Original-Received: from localhost ([127.0.0.1]:55304 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcQGO-0002sH-HU for ged-emacs-devel@m.gmane.org; Fri, 23 Jul 2010 17:58:40 -0400 Original-Received: from [140.186.70.92] (port=36094 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcQGI-0002sC-W7 for emacs-devel@gnu.org; Fri, 23 Jul 2010 17:58:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcQGG-0003Lq-27 for emacs-devel@gnu.org; Fri, 23 Jul 2010 17:58:34 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50104) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcQGF-0003Ld-VM for emacs-devel@gnu.org; Fri, 23 Jul 2010 17:58:32 -0400 Original-Received: from ceviche.home (vpn-132-204-232-95.acd.umontreal.ca [132.204.232.95]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o6NLwMsR013292; Fri, 23 Jul 2010 17:58:22 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id D8176660D2; Fri, 23 Jul 2010 23:58:20 +0200 (CEST) In-Reply-To: <4C1323F5.80301@fastmail.net> (Christian Ohler's message of "Sat, 12 Jun 2010 16:06:45 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3585=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:127729 Archived-At: > I have some spare time now and can offer to work on integrating ert into > Emacs; any suggestions where to start? Try integrating it, provide some example tests in emacs/test. > Where does a file like ert.el belong? In emacs/lisp/emacs-lisp, I think. > Where should the corresponding tests go? We've been using emacs/test for the (very) few tests we have, so that's where they should go. > Should I try to change makefiles to let tests run automatically > during build? I don't think so. You can just try and make "cd test; make" do something useful. We can later on decide whether running tests shojuld be performed as part of routine compilations. Stefan