* --record automaticly create tables if they do not exists.
* (bug 6638) List block flags in block log entries
* New script maintenance/language/checkExtensioni18n.php used to check i18n
progress in the extension repository.
+* Running maintenance/parserTests.php with '--record' option, will now automaticly
+ tries to create its database tables.
== Languages updated ==
$this->db->begin();
+ if( ! $this->db->tableExists( 'testrun' ) or ! $this->db->tableExists( 'testitem') ) {
+ print "WARNING> `testrun` table not found in database. Trying to create table.\n";
+ dbsource( 'testRunner.sql', $this->db );
+ echo "OK, resuming.\n";
+ }
+
// We'll make comparisons against the previous run later...
$this->prevRun = $this->db->selectField( 'testrun', 'MAX(tr_id)' );
Usage: php parserTests.php [--quick] [--quiet] [--show-output]
[--color[=(yes|no|light)]]
[--regex=<expression>] [--file=<testfile>]
+ [--record]
[--help]
Options:
--quick Suppress diff output of failed tests
'light' option is similar to 'yes' but with color for dark backgrounds
--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
--help Show this help message