5 require 'maintenance/parserTests.inc';
7 error_reporting( E_ALL ^ E_NOTICE
);
9 class ProveTestRecorder
extends TestRecorder
{
11 function record( $name, $res ){}
13 function reportPercentage( $success, $total ){}
16 class ProveParserTest
extends ParserTest
{
18 function showSuccess( $desc ){
22 function showFailure( $desc, $exp, $got ){
23 _proclaim( false, $desc, false, $got, $exp );
26 function showRunFile( $path ){}
29 $options = array( 'quick', 'quiet', 'compare' );
30 $tester = new ProveParserTest();
31 $tester->showProgress
= false;
32 $tester->showFailure
= false;
33 $tester->recorder
= new ProveTestRecorder( $tester->term
);
35 // Do not output the number of tests, if will be done automatically at the end
37 $tester->runTestsFromFiles( $wgParserTestFiles );
39 /* vim: set filetype=php: */