Re: New run-tests.php feature

From: Date: Thu, 01 Sep 2011 18:02:12 +0000
Subject: Re: New run-tests.php feature
References: 1 2 3 4 5 6 7  Groups: php.internals php.qa 
Request: Send a blank email to internals+get-55067@lists.php.net to get a copy of this message
On Thu, Sep 1, 2011 at 17:37, Felipe Pena <felipensp@gmail.com> wrote: > 2011/9/1 Kalle Sommer Nielsen <kalle@php.net>: >> Hi >> >> 2011/9/1 Hannes Magnusson <bjori@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

« previous php.internals (#55067) next »