Test framework tests
Please run the tests from our test framework. You can do this by typing
make test after you compiled PHP with
make test finished running tests, and if there are any
failed tests, the script asks to send the logs to the PHP QA mailinglist.
Please answer "y" to this question so that we can efficiently process the results,
entering your e-mail address (which will not be transmitted in plaintext to any list)
enables us to ask you some more information if a test failed. Note that this script
also uploads php -i output so your hostname may be transmitted.
Specific tests can also be executed, like running tests for a certain extension. To do
this you can do like so (for example the standard library):
make test TESTS=ext/standard. Where
TESTS= points to a
.phpt files or a single
.phpt file like:
make test TESTS=tests/basic/001.phpt. You can also pass options directly
to the underlaying script that runs the test suite (
TESTS=, for example to check for memory leaks using Valgrind, the
option can be passed along:
make test TESTS="-m Zend/". For a full list
of options that can be passed along, then run
make test TESTS=-h.
Windows users: On Windows the make command is called
make. This means that on Windows you will have to run
nmake test, to run the test suite.