wiki.php.net:qa:runtests:configuration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki.php.net:qa:runtests:configuration [2009/05/04 12:48] – zoe | wiki.php.net:qa:runtests:configuration [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
- | ^ Cmd line ^ ENV var ^ Function ^ Required? ^ | + | ^ Cmd line ^ ENV var ^ Function ^ Required |
| p | PHP_TEST_EXECUTABLE | Specifies PHP executable to be tested | yes | | | p | PHP_TEST_EXECUTABLE | Specifies PHP executable to be tested | yes | | ||
| v | | Writes the PHP command that's passed to proc_open(), | | v | | Writes the PHP command that's passed to proc_open(), | ||
- | | q | NO_INTERACTION | + | | q | NO_INTERACTION |
| x | SKIP_SLOW_TESTS | | x | SKIP_SLOW_TESTS | ||
| w < | | w < | ||
Line 13: | Line 13: | ||
| c | | Look for php.ini in directory < | | c | | Look for php.ini in directory < | ||
| n | | Pass -n option to the php binary (Do not use a php.ini) | Yes | | | n | | Pass -n option to the php binary (Do not use a php.ini) | Yes | | ||
- | | d foo=bar |TEST_PHP_ARGS | + | | d foo=bar | | Pass -d foo=bar option to the php binary | | |
- | | m | | Test for memory leaks with Valgrind | Yes | | + | | m | | Test for memory leaks with Valgrind | Yes (See additional requirement from Nuno)| |
| s < | | s < | ||
| l < | | l < | ||
Line 21: | Line 21: | ||
===== Long options ===== | ===== Long options ===== | ||
- | ^ Cmd line ^ ENV var ^ Function ^ Required? ^ | + | ^ Cmd line ^ ENV var ^ Function ^ Required |
| html < | | html < | ||
|temp-source < | |temp-source < | ||
- | | keep-(all, | + | | keep-(all, |
| set-timeout n | | Set timeout for individual tests. n is seconds | | | | set-timeout n | | Set timeout for individual tests. n is seconds | | | ||
| show-(all, php...) | | Show ' | | show-(all, php...) | | Show ' | ||
Line 31: | Line 31: | ||
===== Environment variables ===== | ===== Environment variables ===== | ||
- | ^ var name ^ Cmd line ^ Meaning ^ Required ^ | + | ^ var name ^ Cmd line ^ Meaning ^ Required |
| TEST_PHP_EXECUTABLE | p | PHP executable to test | Yes | | | TEST_PHP_EXECUTABLE | p | PHP executable to test | Yes | | ||
| TEST_PHP_CGI_EXECUTABLE | | PHP CGI executable to test | Yes | | | TEST_PHP_CGI_EXECUTABLE | | PHP CGI executable to test | Yes | | ||
Line 37: | Line 37: | ||
| TEST_PHP_DETAILED | v/verbose | Writes the PHP command that's passed to proc_open(), | | TEST_PHP_DETAILED | v/verbose | Writes the PHP command that's passed to proc_open(), | ||
| TEST_PHP_USER | | List of directories to be run | | | | TEST_PHP_USER | | List of directories to be run | | | ||
- | | NO_INTERACTION | q | Suppress option to send results to QA? Only ever hit if just_save_results is true. just_save results can only be set true by command line option s | | | + | | NO_INTERACTION | q | Suppress option to send results to QA? Only ever relevant |
| PHP_AUTOCONF | | ? *ix only | | | | PHP_AUTOCONF | | ? *ix only | | | ||
- | | TEST_PHP_ARGS | d| List of PHP command line options to the tested PHP executable | | | ||
| TEST_PHP_ERROR_STYLE | | Strange logic, this is only ever used on failure to write log file. I don't think it can ever work | | | | TEST_PHP_ERROR_STYLE | | Strange logic, this is only ever used on failure to write log file. I don't think it can ever work | | | ||
| NO_PHPTEST_SUMMARY | | Suppress listing of failed tests | | | | NO_PHPTEST_SUMMARY | | Suppress listing of failed tests | | | ||
| CC | | | | | | CC | | | | | ||
+ | | TEST_PHP_ARGS | | Command line arguments to run-tests.php |Yes (Nuno - for make test) | | ||
wiki.php.net/qa/runtests/configuration.1241441334.txt.gz · Last modified: 2017/09/22 13:28 (external edit)