Lines Matching refs:tests
3 Failed tests usually indicate a problem with your local system setup
16 tests for all enabled functionalities and extensions using the PHP
20 "tests" directory under source root directory.
25 "make test" basically executes "run-tests.php" script
30 sapi/cli/php [-c /path/to/php.ini] run-tests.php [ext/foo/tests/GLOB]
35 If you are running the run-tests.php script from the command line (as above)
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
42 you must build PHP with CGI SAPI to perform all tests.
44 NOTE: PHP binary executing "run-tests.php" and php binary used for
46 executing "run-tests.php" script, you may get errors.
52 The tests have been written to be independent of that php.ini file,
59 "run-tests.php" ("make test"), without any arguments executes all
60 test scripts by extracting all directories named "tests"
62 which have a "phpt" extension, "run-tests.php" looks at the sections
71 Tester can easily execute tests selectively with as follows.
74 ./sapi/cli/php run-tests.php ext/mbstring/*
75 ./sapi/cli/php run-tests.php ext/mbstring/020.phpt
81 the "run-tests.php" script saves the result, the expected result and the
83 ext/myext/tests/myext.phpt fails to pass, the following files are created:
85 ext/myext/tests/myext.php - actual test file executed
86 ext/myext/tests/myext.log - log of test execution (L)
87 ext/myext/tests/myext.exp - expected output (E)
88 ext/myext/tests/myext.out - output from test script (O)
89 ext/myext/tests/myext.diff - diff of .out and .exp (D)
91 Failed tests are always bugs. Either the test is bugged or not considering
99 NOTE: The files generated by tests can be selected by setting the
113 of independent tests. Set the environment variable REPORT_EXIT_STATUS to 1,
145 NOTE: the exit status of run-tests.php will be 1 when