Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 77aa29358b4a026ed75c5cdc6ca7da94bbff60c2 1 parent 8f14aed
authored March 20, 2009

Showing 1 changed file with 5 additions and 4 deletions. Show diff stats Hide diff stats

  1. 9  README.TESTING
9  README.TESTING
@@ -32,11 +32,12 @@ sapi/cli/php [-c /path/to/php.ini] run-tests.php [ext/foo/tests/GLOB]
32 32
 
33 33
 [Which "php" executable "make test" look for]
34 34
 ---------------------------------------------
35  
- You must use TEST_PHP_EXECUTABLE environment variable to explicitly
36  
-select the php executable to be used to run the tests. That can either
37  
-be the CLI or CGI executable.
  35
+If you are running the run-tests.php script from the command line (as above)
  36
+you must set the TEST_PHP_EXECUTABLE environment variable to explicitly
  37
+select the PHP executable that is to be tested, that is, used to run the test scripts.
38 38
 
39  
- "make test" executes "run-tests.php" script with "php" binary.  Some
  39
+If you run the tests using make test, the PHP CLI and CGI executables are 
  40
+automatically set for you. "make test" executes "run-tests.php" script with the CLI binary.  Some
40 41
 test scripts such as session must be executed by CGI SAPI. Therefore,
41 42
 you must build PHP with CGI SAPI to perform all tests.
42 43
 

0 notes on commit 77aa293

Please sign in to comment.
Something went wrong with that request. Please try again.