From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 20:14:01 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE2191065673 for ; Thu, 3 Jun 2010 20:14:01 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3D08B8FC12 for ; Thu, 3 Jun 2010 20:14:00 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o53Jslel014357 Received: from kobe.laptop (188.4.35.31.dsl.dyn.forthnet.gr [188.4.35.31]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o53Jslel014357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 Jun 2010 22:54:52 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o53Jsfq6011553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jun 2010 22:54:41 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o53JsfZ9011550; Thu, 3 Jun 2010 22:54:41 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Alexander Leidinger References: <97382526-EC81-4660-B494-315A73DD5783@cederstrand.dk> <20100603145013.599226aj5n6rgikg@webmail.leidinger.net> Date: Thu, 03 Jun 2010 22:54:41 +0300 In-Reply-To: <20100603145013.599226aj5n6rgikg@webmail.leidinger.net> (Alexander Leidinger's message of "Thu, 03 Jun 2010 14:50:13 +0200") Message-ID: <87ljav99j2.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: current@FreeBSD.org, Erik Cederstrand Subject: Re: Running all regression tests X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2010 20:14:01 -0000 On Thu, 03 Jun 2010 14:50:13 +0200, Alexander Leidinger wrote: > Quoting Erik Cederstrand (from Thu, 3 Jun 2010 > 12:02:51 +0200): > >> Hi, >> >> I'd like to run the regression tests in src/tools/regression on a >> regular basis. What's the official way to do this? Is there some way >> I can run them all in one go? >> >> It seems it's necessary to enter every single subdirectory and >> execute any Makefiles located there before running 'prove -r'. Some > > You could write a Makefile which recurses into the subdirs. That's the easy way to run all the current tests. It should be possible to add minimal makefile glue to run all the regression tests. Skipping some of the tests may also be possible by using a technique similar to the src/ tree, e.g.: SUBDIRS = \ foo \ ${_bar} \ baz .if defined(WITH_BAR) _bar = bar .endif