test: skip math parser tests when missing $wgTexvc
authorAntoine Musso <hashar@free.fr>
Fri, 21 Jun 2013 15:39:29 +0000 (17:39 +0200)
committerAntoine Musso <hashar@free.fr>
Thu, 27 Jun 2013 12:18:03 +0000 (14:18 +0200)
commit2fe1b773d3da27e379485e049c239d9ac6cd6365
tree03de272d2d673c17f157767f74dd4edcf323c9df
parenta2d0187b6f85856cfdc79acf7b53d61465cc4bf4
test: skip math parser tests when missing $wgTexvc

The Math extension has at least one test marked with the parsertest
option 'texvc'.  We now use it to detects whether $wgTexvc points to an
executable binary and would skip such parser tests if not.

'math' option is kept for backward compatibility, just in case.

Math extension has been updated to use this as of
https://gerrit.wikimedia.org/r/#/c/69873/

bug: 49884
Change-Id: I992b5a5b7aac067f1e368cb3eeba224c056b76f9
tests/phpunit/includes/parser/NewParserTest.php