Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clarification of wwwhether 'make test' needs the PHP xecutable to be set

  • Loading branch information...
commit ea9f303dd29a6a4ffb7cfc18dabf9257ada795c0 1 parent bdfafa3
Zoe Slattery authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 README.TESTING
View
9 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.
Please sign in to comment.
Something went wrong with that request. Please try again.