summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.TESTING2
-rw-r--r--ext/skeleton/tests/001.phpt3
2 files changed, 4 insertions, 1 deletions
diff --git a/README.TESTING b/README.TESTING
index e3bc365aee..aab8f9e7f4 100644
--- a/README.TESTING
+++ b/README.TESTING
@@ -70,6 +70,7 @@ executed to the test script directory. For example, if
ext/myext/tests/myext.phpt is failed to pass, following files are
created:
+ext/myext/tests/myext.php - actual testfile executed
ext/myext/tests/myext.log - log of test execution (L)
ext/myext/tests/myext.exp - expected output (E)
ext/myext/tests/myext.out - output from test script (O)
@@ -80,6 +81,7 @@ ext/myext/tests/myext.diff - diff of .out and .exp (D)
NOTE: The files generated by tests can be selected by setting the
environment variable TEST_PHP_LOG_FORMAT. For each file you want to be
generated use the character in brackets as shown above (default is LEOD).
+The php file will be generated allways.
NOTE: You can set environment variable TEST_PHP_DETAILED to enable
detailed test information.
diff --git a/ext/skeleton/tests/001.phpt b/ext/skeleton/tests/001.phpt
index cf40e4e1a5..dc6ba9f57d 100644
--- a/ext/skeleton/tests/001.phpt
+++ b/ext/skeleton/tests/001.phpt
@@ -4,6 +4,7 @@ Check for extname presence
<?php if (!extension_loaded("extname")) print "skip"; ?>
--POST--
--GET--
+--INI--
--FILE--
<?php
echo "extname extension is available";
@@ -15,7 +16,7 @@ echo "extname extension is available";
to pass, differences between the output and the
expected text are interpreted as failure
- see php4/tests/README for further information on
+ see php4/README.testing for further information on
writing regression tests
*/
?>