diff options
Diffstat (limited to 'maintenance/parserTests.php')
-rw-r--r-- | maintenance/parserTests.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/maintenance/parserTests.php b/maintenance/parserTests.php index bd147788..540d6b08 100644 --- a/maintenance/parserTests.php +++ b/maintenance/parserTests.php @@ -18,8 +18,7 @@ # http://www.gnu.org/copyleft/gpl.html /** - * @package MediaWiki - * @subpackage Maintenance + * @addtogroup Maintenance */ /** */ @@ -29,17 +28,20 @@ if( isset( $options['help'] ) ) { echo <<<ENDS MediaWiki $wgVersion parser test suite Usage: php parserTests.php [--quick] [--quiet] [--show-output] - [--color[=(yes|no|light)]] + [--color[=(yes|no)]] [--regex=<expression>] [--file=<testfile>] + [--record] [--compare] [--help] Options: --quick Suppress diff output of failed tests --quiet Suppress notification of passed tests (shows only failed tests) --show-output Show expected and actual output --color Override terminal detection and force color output on or off - 'light' option is similar to 'yes' but with color for dark backgrounds + use wgCommandLineDarkBg = true; if your term is dark --regex Only run tests whose descriptions which match given regex --file Run test cases from a custom file instead of parserTests.txt + --record Record tests in database + --compare Compare with recorded results, without updating the database. --help Show this help message @@ -62,7 +64,7 @@ if( isset( $options['file'] ) ) { # Print out software version to assist with locating regressions $version = SpecialVersion::getVersion(); -echo( "This is MediaWiki version {$version}.\n" ); +echo( "This is MediaWiki version {$version}.\n\n" ); $ok = $tester->runTestsFromFiles( $files ); exit ($ok ? 0 : -1); |