From: Marcus Boerger Date: Thu, 24 Oct 2002 00:00:26 +0000 (+0000) Subject: additions X-Git-Tag: php-4.3.0pre2~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=096d8dad8e04adce43004441dfb8f277fe6dd62c;p=php additions --- diff --git a/README.TESTING b/README.TESTING index 5d7c0f6fde..a2624b74b3 100644 --- a/README.TESTING +++ b/README.TESTING @@ -52,8 +52,8 @@ from the source root and any subdirectories below. If there are files, which have a "phpt" extension, "run-tests.php" looks at the sections in these files, determines whether it should run it, by evaluating the 'SKIP' section. If the test is eligible for execution, the 'FILE' -section is extracted into a ".php" file, with a unique name and -executed. +section is extracted into a ".php" file (with the same name besides +the extension) and gets executed. When an argument is given or TESTS environment variable is set, the GLOB is expanded by the shell and any file with extension "*.phpt" is regarded as a test file. @@ -208,7 +208,8 @@ abcd Test script and SKIPIF code should be directly written into *.phpt. However, it is recommended to use include files when more test scripts depend on the same SKIPIF code or when certain test files need the same -values for some input. +values for some input. But no file used by any test should have one of +the following extensions: ".php", ".log", ".exp", ".out" or ".diff". /ext/standard/tests/strings 003.phpt is a good example for using EXPECTF