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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php