r108547 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108546‎ | r108547 | r108548 >
Date:20:50, 10 January 2012
Author:hashar
Status:ok
Tags:
Comment:
move parser fuzz test to ParserFuzz group

Somehow fixes bug 29493:
« Put parser fuzz tests in @group and disable by default »
Modified paths:
  • /trunk/phase3/tests/phpunit/Makefile (modified) (history)
  • /trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php (modified) (history)
  • /trunk/phase3/tests/phpunit/suite.xml (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/suite.xml
@@ -34,6 +34,7 @@
3535 <exclude>
3636 <group>Utility</group>
3737 <group>Broken</group>
 38+ <group>ParserFuzz</group>
3839 <group>Stub</group>
3940 </exclude>
4041 </groups>
Index: trunk/phase3/tests/phpunit/includes/parser/NewParserTest.php
@@ -553,7 +553,7 @@
554554 *
555555 * @todo @fixme Needs some work to not eat memory until the world explodes
556556 *
557 - * @group Broken
 557+ * @group ParserFuzz
558558 */
559559 function testFuzzTests() {
560560 global $wgParserTestFiles;
Index: trunk/phase3/tests/phpunit/Makefile
@@ -46,17 +46,26 @@
4747
4848 parser:
4949 ${PU} --group Parser
 50+parserfuzz:
 51+ @echo "******************************************************************"
 52+ @echo "* This WILL kill your computer by eating all memory AND all swap *"
 53+ @echo "* *"
 54+ @echo "* If you are on a production machine. ABORT NOW!! *"
 55+ @echo "* Press control+C to stop *"
 56+ @echo "* *"
 57+ @echo "******************************************************************"
 58+ ${PU} --group Parser,ParserFuzz
5059 noparser:
51 - ${PU} --exclude-group Parser,Broken,Stub
 60+ ${PU} --exclude-group Parser,Broken,ParserFuzz,Stub
5261
5362 safe:
54 - ${PU} --exclude-group Broken,Destructive,Stub
 63+ ${PU} --exclude-group Broken,ParserFuzz,Destructive,Stub
5564
5665 databaseless:
57 - ${PU} --exclude-group Broken,Destructive,Database,Stub
 66+ ${PU} --exclude-group Broken,ParserFuzz,Destructive,Database,Stub
5867
5968 database:
60 - ${PU} --exclude-group Broken,Destructive,Stub --group Database
 69+ ${PU} --exclude-group Broken,ParserFuzz,Destructive,Stub --group Database
6170
6271 list-groups:
6372 ${PU} --list-groups

Status & tagging log