cvs: php4 / README.TESTING
| From: | Ilia Alshanetsky | Date: | Fri, 25 Oct 2002 18:09:55 +0000 |
| Subject: | cvs: php4 / README.TESTING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15438@lists.php.net to get a copy of this message | ||
iliaa Fri Oct 25 14:09:55 2002 EDT
Modified files:
/php4 README.TESTING
Log:
Added note about error reporting in tests.
Index: php4/README.TESTING
diff -u php4/README.TESTING:1.14 php4/README.TESTING:1.15
--- php4/README.TESTING:1.14 Fri Oct 25 07:17:45 2002
+++ php4/README.TESTING Fri Oct 25 14:09:55 2002
@@ -247,6 +247,13 @@
"skipif.inc" and an include file used in the FILE section of many tests
should be named "test.inc".
+If your test intentionally generates a PHP warning message, insert
+'track_errors=1' into the --INI-- section. This will store the
+warning inside a $php_errormsg variable, which you can then output.
+This will result in a consistent error message output across all platforms
+and PHP configurations, preventing your test from failing due inconsistencies
+in the error message content.
+
[How to help us]
----------------
If you find bug in PHP, you can submit bug report AND test script