On Thu, Sep 1, 2011 at 17:37, Felipe Pena <felipe...@gmail.com> wrote: > 2011/9/1 Kalle Sommer Nielsen <ka...@php.net>: >> Hi >> >> 2011/9/1 Hannes Magnusson <bj...@php.net>: >>> 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. >>> >>> Being able to run the tests for two directories in parallel however.. >>> that would be awesome. >> >> I reckon Felipe had a patch for this back in the early 5.3 development >> days, Felipe? >> >> > > Here's the patch: http://felipe.ath.cx/diff/run-tests.diff
Hmh. This patch seems to be similar to johannes' patch, being able to skip entire directories based on a "configure file". I don't see a way to execute a check though. f.e. running the mysql tests won't do you any good unless you have the environment properly setup, so the skipif section needs to be able to check if it can connect to a db, and if not then you can skip the entire folder.. -Hannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php