diff options
author | Zoe Slattery <zoe@php.net> | 2009-03-20 15:43:11 +0000 |
---|---|---|
committer | Zoe Slattery <zoe@php.net> | 2009-03-20 15:43:11 +0000 |
commit | 9705e310ca4321a4dd3aff549a9d955ea7083e46 (patch) | |
tree | e09a464411721fcd2b92fe712548eb48d6912a76 /README.TESTING | |
parent | 105c01765afbd35d918e7ffddd104a8f4bae6259 (diff) | |
download | php-git-9705e310ca4321a4dd3aff549a9d955ea7083e46.tar.gz |
clarification of wwwhether 'make test' needs the PHP xecutable to be set
Diffstat (limited to 'README.TESTING')
-rw-r--r-- | README.TESTING | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/README.TESTING b/README.TESTING index 117a360b85..75141d50e5 100644 --- a/README.TESTING +++ b/README.TESTING @@ -32,11 +32,12 @@ sapi/cli/php [-c /path/to/php.ini] run-tests.php [ext/foo/tests/GLOB] [Which "php" executable "make test" look for] --------------------------------------------- - You must use TEST_PHP_EXECUTABLE environment variable to explicitly -select the php executable to be used to run the tests. That can either -be the CLI or CGI executable. +If you are running the run-tests.php script from the command line (as above) +you must set the TEST_PHP_EXECUTABLE environment variable to explicitly +select the PHP executable that is to be tested, that is, used to run the test scripts. - "make test" executes "run-tests.php" script with "php" binary. Some +If you run the tests using make test, the PHP CLI and CGI executables are +automatically set for you. "make test" executes "run-tests.php" script with the CLI binary. Some test scripts such as session must be executed by CGI SAPI. Therefore, you must build PHP with CGI SAPI to perform all tests. |