Newsgroups: php.internals,php.qa Path: news.php.net Xref: news.php.net php.internals:55063 php.qa:65918 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73232 invoked from network); 1 Sep 2011 14:46:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Sep 2011 14:46:03 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:53992] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/3D-03466-9AA9F5E4 for ; Thu, 01 Sep 2011 10:46:03 -0400 Received: from [192.168.2.230] (ppp-93-104-32-107.dynamic.mnet-online.de [93.104.32.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 6449277904; Thu, 1 Sep 2011 16:45:58 +0200 (CEST) To: Hannes Magnusson Cc: Alexey Shein , Ferenc Kovacs , PHP Development , PHP QA In-Reply-To: References: <1314886182.1211.5.camel@guybrush> Content-Type: text/plain; charset="UTF-8" Date: Thu, 01 Sep 2011 16:45:57 +0200 Message-ID: <1314888357.1211.10.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] New run-tests.php feature From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Thu, 2011-09-01 at 16:17 +0200, Hannes Magnusson wrote: > Create a magical "run-me-first" file which run-tests will execute > first, and if it fails it will skip all the tests in that directory.. > should be relatively easy to implement. See patch at http://schlueters.de/~johannes/php/run-tests-directory-skip.diff ;-) This will look for a file called SKIP, which has to be a PHP file, in each directory while looking for tests. There's at least one bug left: INI options aren't passed to the SKIP run so shared modules etc. will not be found. If somebody could extend it accordingly: great. :-) > Being able to run the tests for two directories in parallel however.. > that would be awesome. Ack. While that's a bit more complex as we can't run tests for a native database and the corresponding PDO driver at the same time, most likely. So we need some locking mechanism. johannes