r26316 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26315‎ | r26316 | r26317 >
Date:15:37, 2 October 2007
Author:brion
Status:old
Tags:
Comment:
Auto-add testRunner.sql without breaking if run from outside the maintenance directory
Modified paths:
  • /trunk/phase3/maintenance/parserTests.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.inc
@@ -946,7 +946,7 @@
947947
948948 if( ! $this->db->tableExists( 'testrun' ) or ! $this->db->tableExists( 'testitem') ) {
949949 print "WARNING> `testrun` table not found in database. Trying to create table.\n";
950 - dbsource( 'testRunner.sql', $this->db );
 950+ dbsource( dirname(__FILE__) . '/testRunner.sql', $this->db );
951951 echo "OK, resuming.\n";
952952 }
953953

Follow-up revisions

RevisionCommit summaryAuthorDate
r26331Merged revisions 26280-26330 via svnmerge from...david22:28, 2 October 2007

Status & tagging log