qa:runtests:documentation:commandline

Differences

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

Link to this comparison view

Next revision
Previous revision
qa:runtests:documentation:commandline [2009/07/25 11:15] – created zoeqa:runtests:documentation:commandline [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 4: Line 4:
  
  
-^ Cmd line ^ ENV var ^ Function ^ Required in the re-write? ^ +^ Cmd line ^ ENV var ^ Function ^ Required in the re-write? ^ implemented ^ 
-| p | PHP_TEST_EXECUTABLE | Specifies PHP executable to be tested | yes | +| h |  | help | yes | yes | 
-| v |                     | Writes the PHP command that's passed to proc_open(), and ... | Yes +| p | PHP_TEST_EXECUTABLE | Specifies PHP executable to be tested | yes | yes | 
-| q | NO_INTERACTION                  | Suppress option to send results to QA? Only ever relevant if run using 'make test' I think    +| v |                     | Writes the PHP command that's passed to proc_open(), and ... | yes | yes, see verbose-mode 
-| x | SKIP_SLOW_TESTS                | Skip slow tests |  +| q | NO_INTERACTION                  | Suppress option to send results to QA? Only ever relevant if run using 'make test' I think | yes | 
-| w <file> |                | Write a list of all failed tests to <file>. | | +| x | SKIP_SLOW_TESTS                | Skip slow tests | NO | 
-| a <file> |                | Same as -w but append rather then truncating <file> | | +| w <file> |                | Write a list of all failed tests to <file>| NO | | 
-| c |                         | Look for php.ini in directory <file> or use <file> as ini | Yes |  +| a <file> |                | Same as -w but append rather then truncating <file> | NO | | 
-| n |                        | Pass -n option to the php binary (Do not use a php.ini) | Yes | +| c |                         | Look for php.ini in directory <file> or use <file> as ini | Yes |  
-| d foo=bar | | Pass -d foo=bar option to the php binary | | +| n |                        | Pass -n option to the php binary (Do not use a php.ini) | Yes |  
-| m          |               | Test for memory leaks with Valgrind | Yes (See additional requirement from Nuno)| +| d foo=bar | | Pass -d foo=bar option to the php binary | Yes | | 
-| s <file> |                 | Write output to <file> | | +| m          |               | Test for memory leaks with Valgrind | Yes (See additional requirement from Nuno)| yes 
-| l <file>                        | Read lists of tests to be executed from <file>, write failed tests back to same file | | +| s <file> |                 | Write output to <file>yes | yes 
-| r <file> | | Read lists of tests to be executed from <file> | |+| l <file>                        | Read lists of tests to be executed from <file>, write failed tests back to same file | yes | | 
 +| r <file> | | Read lists of tests to be executed from <file> | yes | |
  
 ===== Long options ===== ===== Long options =====
  
-^ Cmd line ^ ENV var ^ Function ^ Required in the re-write? ^ +^ Cmd line ^ ENV var ^ Function ^ Required in the re-write? ^ implemented 
-| html <file> |  | Write HTML summary output to file | | +| html <file> |  | Write HTML summary output to file | NO (replaced by output-type)| |  
-|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 urlIn 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>... | NO | | 
-| keep-(all,php...) | | Do not delete 'all' files, 'php' test file, 'skip' or 'clean' file. |Yes (all, Nuno for gcov etc) | +| 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 | NO | | 
-| show-(all, php...) | | Show 'all' files, 'php' test file ... etc | | +| show-(all, php...) | | Show 'all' files, 'php' test file ... etc | NO | | 
-| no-clean | | Don't execute the CLEAN section | |  +| no-clean | | Don't execute the CLEAN section | yes |   
-| verbose | | Writes the PHP command that's passed to proc_open(), and … |  |  +| verbose | | Writes the PHP command that's passed to proc_open(), and... | yes | yes, see verbose-mode | 
 + 
 +===== New options ===== 
 + 
 +^ Cmd line ^ ENV var ^ Function ^ implemented ^ 
 +| o <list,csv,xml,html> |  | Specifies the output-type | yes | 
 +| z <nproc> |  | Run in parallel, forks <nproc> processes. | yes |  
 +| v |  | verbose-mode level 1 | yes |  
 +| vv |  | verbose-mode level 2 | yes |  
 +| vvv |  | verbose-mode level 3 | yes |  
  
 ===== Environment variables ===== ===== Environment variables =====
qa/runtests/documentation/commandline.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1