}
public function execute() {
- global $wgParserTestFiles, $wgDBtype;
+ global $wgDBtype;
// Cases of weird db corruption were encountered when running tests on earlyish
// versions of SQLite
}
// Default parser tests and any set from extensions or local config
- $files = $this->getOption( 'file', $wgParserTestFiles );
+ $files = $this->getOption( 'file', ParserTestRunner::getParserTestFiles() );
$norm = $this->hasOption( 'norm' ) ? explode( ',', $this->getOption( 'norm' ) ) : [];