wiki.php.net:qa:runtests:configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wiki.php.net:qa:runtests:configuration [2009/05/04 12:19] zoewiki.php.net:qa:runtests:configuration [2009/05/04 18:54] zoe
Line 4: Line 4:
  
  
-^ Cmd line ^ ENV var ^ Function ^ Required? ^+^ Cmd line ^ ENV var ^ Function ^ Required in the re-write? ^
 | 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(), and ... |  +| v |                     | Writes the PHP command that's passed to proc_open(), and ... | Yes 
-| q | NO_INTERACTION                  | Quiet   |  |+| q | NO_INTERACTION                  | Suppress option to send results to QA? Only ever relevant if run using 'make test' I think   |  |
 | x | SKIP_SLOW_TESTS                | Skip slow tests |  | | x | SKIP_SLOW_TESTS                | Skip slow tests |  |
 | w <file> |                | Write a list of all failed tests to <file>. | | | w <file> |                | Write a list of all failed tests to <file>. | |
Line 13: Line 13:
 | c |                         | Look for php.ini in directory <file> or use <file> as ini | Yes |  | c |                         | Look for php.ini in directory <file> or use <file> as ini | Yes | 
 | 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 | Pass -d foo=bar option to the php binary | | +| 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 <file> |                 | Write output to <file> | | | s <file> |                 | Write output to <file> | |
 | l <file>                        | Read lists of tests to be executed from <file>, write failed tests back to same file | | | l <file>                        | Read lists of tests to be executed from <file>, write failed tests back to same file | |
Line 21: Line 21:
 ===== Long options ===== ===== Long options =====
  
-^ Cmd line ^ ENV var ^ Function ^ Required? ^+^ Cmd line ^ ENV var ^ Function ^ Required in the re-write? ^
 | html <file> |  | Write HTML summary output to file | | | html <file> |  | Write HTML summary output to file | |
 |temp-source <sdir>  temp-target <tdir> [temp-urlbase <url>] | | Write temporary files to <tdir> by replacing <sdir> from the filenames to generate with <tdir>. If --html is being used and     <url> given then the generated links are relative and prefixed with the given url. In general you want to make <sdir> the path to your source files and <tdir> some pach in your web page         hierarchy with <url> pointing to <tdir> | | |temp-source <sdir>  temp-target <tdir> [temp-urlbase <url>] | | Write temporary files to <tdir> by replacing <sdir> from the filenames to generate with <tdir>. If --html is being used and     <url> given then the generated links are relative and prefixed with the given url. In general you want to make <sdir> the path to your source files and <tdir> some pach in your web page         hierarchy with <url> pointing to <tdir> | |
-| keep-(all,php...) | | Do not delete 'all' files, 'php' test file, 'skip' or 'clean' file. | |+| keep-(all,php...) | | Do not delete 'all' files, 'php' test file, 'skip' or 'clean' file. |Yes (all, Nuno for gcov etc) |
 | 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 'all' files, 'php' test file ... etc | | | show-(all, php...) | | Show 'all' files, 'php' test file ... etc | |
 | no-clean | | Don't execute the CLEAN section | |  | no-clean | | Don't execute the CLEAN section | | 
 +| verbose | | Writes the PHP command that's passed to proc_open(), and … |  |  
  
 ===== Environment variables ===== ===== Environment variables =====
-^ var name ^ Cmd line ^ Meaning ^ Required ^+^ var name ^ Cmd line ^ Meaning ^ Required in the re-write^
 | 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 36: Line 37:
 | TEST_PHP_DETAILED | v/verbose | Writes the PHP command that's passed to proc_open(), and ... | | | TEST_PHP_DETAILED | v/verbose | Writes the PHP command that's passed to proc_open(), and ... | |
 | 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? Is this all? | |+| NO_INTERACTION | q | Suppress option to send results to QA? Only ever relevant if run using 'make test' I think | |
 | 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.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1