dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c41d9dd
)
Auto-add testRunner.sql without breaking if run from outside the maintenance directory
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 2 Oct 2007 15:37:04 +0000
(15:37 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 2 Oct 2007 15:37:04 +0000
(15:37 +0000)
maintenance/parserTests.inc
patch
|
blob
|
history
diff --git
a/maintenance/parserTests.inc
b/maintenance/parserTests.inc
index
510a2db
..
3c0fbb8
100644
(file)
--- a/
maintenance/parserTests.inc
+++ b/
maintenance/parserTests.inc
@@
-946,7
+946,7
@@
class DbTestRecorder extends TestRecorder {
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 );
+ dbsource(
dirname(__FILE__) . '/
testRunner.sql', $this->db );
echo "OK, resuming.\n";
}