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:
c061e7e
)
Remove last profiling data from unit tests
author
Chad Horohoe
<chadh@wikimedia.org>
Tue, 10 Feb 2015 21:15:00 +0000
(13:15 -0800)
committer
Chad Horohoe
<chadh@wikimedia.org>
Tue, 10 Feb 2015 21:15:17 +0000
(13:15 -0800)
Change-Id: I66255ef5364f4eebafadbed663e0945e13f31969
tests/phpunit/MediaWikiTestCase.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/MediaWikiTestCase.php
b/tests/phpunit/MediaWikiTestCase.php
index
0a0f480
..
2b46fc3
100644
(file)
--- a/
tests/phpunit/MediaWikiTestCase.php
+++ b/
tests/phpunit/MediaWikiTestCase.php
@@
-129,14
+129,10
@@
abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
$needsResetDB = true;
}
- wfProfileIn( $logName );
parent::run( $result );
- wfProfileOut( $logName );
if ( $needsResetDB ) {
- wfProfileIn( $logName . ' (reset-db)' );
$this->resetDB();
- wfProfileOut( $logName . ' (reset-db)' );
}
}