Re: Re: multi-threaded run-tests.php
| From: | Sebastian Bergmann | Date: | Fri, 27 Jul 2007 07:46:39 +0000 |
| Subject: | Re: Re: multi-threaded run-tests.php | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31293@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
> make test TESTS=ext/foo
>
> Or, add this little shell script which I call phpt:
>
> #!/bin/bash
> TEST_PHP_EXECUTABLE=/usr/local/bin/php
> php /usr/local/lib/php/build/run-tests.php $1
>
> Then cd into whatever directory has your tests and type:
>
> phpt .
Yeah, letting make take care of this sounds like the right thing to do.
It should also solve Ulf's problem of not running the tests for the
various MySQL extensions at the same time somehow.
--
Sebastian Bergmann http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69