Re: cvs: php4 / run-tests.php
| From: | Ilia A. | Date: | Fri, 25 Oct 2002 19:42:11 +0000 |
| Subject: | Re: cvs: php4 / run-tests.php | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-15445@lists.php.net to get a copy of this message | ||
On October 25, 2002 03:27 pm, Marcus Börger wrote:
> It should not break any test...please send a list of those failed.
This particular option broke the tests where an error message was being
generate by PHP as part of the test and then it's output compared as part of
the PASS/FAIL check. It is MUCH better to use the track_errors=1 where it is
needed and then output the error message by printing $php_errormsg.
This results in a consistent output that does not depend on various error
reporting settings.
Ilia
>
> marcus
>
> At 19:24 25.10.2002, Ilia Alshanetsky wrote:
> >iliaa Fri Oct 25 13:24:10 2002 EDT
> >
> > Modified files:
> > /php4 run-tests.php
> > Log:
> > The log_errors=1 breaks a number of tests and is useless for our
> > purposes, removing.
> >
> >
> >Index: php4/run-tests.php
> >diff -u php4/run-tests.php:1.89 php4/run-tests.php:1.90
> >--- php4/run-tests.php:1.89 Thu Oct 24 14:14:39 2002
> >+++ php4/run-tests.php Fri Oct 25 13:24:09 2002
> >@@ -484,7 +484,7 @@
> > "-d 'disable_functions='",
> > "-d 'error_reporting=2047'",
> > "-d 'display_errors=0'",
> >- "-d 'log_errors=1'",
> >+ "-d 'log_errors=0'",
> > "-d 'html_errors=0'",
> > "-d 'docref_root=/phpmanual/'",
> > "-d 'docref_ext=.html'",
> >
> >
> >
> >--
> >PHP CVS Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php