Re: changing make test for automatic testing
| From: | Magnus Määttä | Date: | Tue, 28 Jan 2003 00:54:54 +0000 |
| Subject: | Re: changing make test for automatic testing | ||
| References: | 1 2 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-8512@lists.php.net to get a copy of this message | ||
>
> So I think it is usefull to change make test so that it can run from cron
> (Jan Lehnhardt has written a small shell script for testing snaps and cvs).
> The problem with this script is, that make test is waiting for user input.
>
> My idea: add --user-email as configure option to pass this address to
> run-tests.php.
>
> Is there anything that speaks against this idea?
I wrote a script in PHP which will patch run-scripts.php to not ask for any input.
It can be run as crontab too.
But it wasn't good enough to be included in the main distribution, Derick had
a look at it. But if there is someone interested in making it better I'll post it.
Regards
Magnus