Re: New run-tests.php feature

From: Date: Thu, 01 Sep 2011 14:45:57 +0000
Subject: Re: New run-tests.php feature
References: 1 2 3 4 5  Groups: php.internals php.qa 
Request: Send a blank email to internals+get-55063@lists.php.net to get a copy of this message
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

« previous php.internals (#55063) next »