File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -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
You can’t perform that action at this time.
0 commit comments