Hello Richard, that -h issue is actually understandable. If run-tests-pgp was exectuable you would more likely be tempted to try -h. Maybe that means we should make it so by adding a hash bang line or by adding a short shell script that will do so call run-tests.pgp with the correct php version.
marcus Tuesday, July 31, 2007, 5:40:53 AM, you wrote: > I did try variations on "make test --help" but that just got me make > help... > I would have expected php xxx.php -h to simply print the help for PHP > and exit and didn't think to try that. > Sorry! > On Mon, July 30, 2007 1:40 pm, Marcus Boerger wrote: >> Hello Richard, >> >> erm, php run-tests.php -h or --help was to hard? >> >> Friday, July 27, 2007, 5:56:10 AM, you wrote: >> >>> On Wed, July 25, 2007 12:38 pm, Andrey Hristov wrote: >>>> Hi Tony, >>>> Antony Dovgal wrote: >>>>> On 25.07.2007 19:37, Nuno Lopes wrote: >>>>>> So here it is my first attempt: >>>>>> http://gcov.php.net/~nlopess/multi_threaded_run_tests.txt >>>>>> WARNING: The patch is ugly and the output of the script isn't the >>>>>> prettiest. >>>>>> >>>>>> Anyway, for automated testing seems to be good enough. >>>>>> >>>>>> Nuno >>>>>> >>>>>> P.S.: after this little hack, I also start to feel that >>>>>> run-tests.php >>>>>> should be rewritten >>>>> >>>>> Unfortunately, this is 100% truth, Sebastian have had some ideas >>>>> about it. >>>>> >>>> >>>> I also have a hack, that makes it possible to re-run a test few >>>> times. >>>> I >>>> call it iteration. For every iteration there is >>>> $_ENV['TEST_ITERATION']. >>>> Based on which different consts are defined by the pre-include >>>> script. >>>> I >>>> am using it for testing mysqlnd against a bunch of MySQL Server, >>>> the >>>> minimalistic configuration is doing 3 iterations against 4.1, 5.0 >>>> and >>>> 5.1 Server. Not sure that other extensions could benefit from it, >>>> but >>>> at >>>> least the DB connectivity ones..like testing OCI8.... >> >>> FWIW: >> >>> I spent about 10 to 20 minutes trying to figure out if it was >>> possible >>> to easily run just a subset of tests and failed. >> >>> I dunno if that indicates that it's a feature to be added, one to be >>> better documented, or that I'm just being stupid (again), but there >>> it >>> is. >> >>> -- >>> Some people have a "gift" link here. >>> Know what I want? >>> I want you to buy a CD from some indie artist. >>> http://cdbaby.com/browse/from/lynch >>> Yeah, I get a buck. So? >> >> >> >> >> Best regards, >> Marcus >> >> -- Best regards, Marcus mailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php