Skip to content

Commit 0c82801

Browse files
committed
Setting TEST_PHP_EXECUTABLE hasn't been necessary for ages.
1 parent 1820dd9 commit 0c82801

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/miscellaneous/running-tests.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ work). Therefore you can execute the script as follows:
1111

1212
.. code:: shell
1313
14-
TEST_PHP_EXECUTABLE=sapi/cli/php \
1514
sapi/cli/php [-c /path/to/php.ini] run-tests.php [ext/foo/tests/GLOB]
1615
1716
******************************************
1817
Which php executable does make test use?
1918
******************************************
2019

21-
If you are running the ``run-tests.php`` script from the command line (as above) you must set the
20+
If you are running the ``run-tests.php`` script from the command line (as above) you can set the
2221
``TEST_PHP_EXECUTABLE`` environment variable to explicitly select the PHP executable that is to be
23-
tested, that is, used to run the test scripts.
22+
tested, that is, used to run the test scripts, otherwise it will use the PHP CLI binary that you
23+
have compiled (``sapi/cli/php``).
2424

2525
If you run the tests using make test, the PHP CLI and CGI executables are automatically set for you.
2626
``make test`` executes ``run-tests.php`` script with the CLI binary. Some test scripts such as

0 commit comments

Comments
 (0)