mark parsertests with option 'texvc'

One of the parsertests had the option 'texvc', that is a nice idea to
let MediaWiki recognize such test is requiring a texvc installation.
This patch apply the option to all those parser tests.

MediaWiki core change https://gerrit.wikimedia.org/r/69872 will
recognize the option and skip the test whenever $wgTexvc is not set or
points to a non executable file.

Also cleaned out some blank lines.

bug: 49884
Change-Id: I746856be4aafa8e8ed5ef33d5b10b16db3ca97ff
This commit is contained in:
Antoine Musso 2013-06-21 17:47:46 +02:00
parent 233d285264
commit fcb1faf4b5
1 changed files with 23 additions and 3 deletions

View File

@ -1,4 +1,3 @@
!! test
pre-save transform: comment containing math
!! options
@ -22,7 +21,7 @@ pst
!! test
BUG 1887, part 2: A <math> with a thumbnail- math enabled
!! options
math
texvc
!! input
[[Image:foobar.jpg|thumb|<math>2+2</math>]]
!! result
@ -41,6 +40,8 @@ math
!! test
BUG 26380: Add \widetilde support to match \widehat
!! options
texvc
!! input
<math>\widehat{x}</math>
<math>\widetilde{x}</math>
@ -52,6 +53,8 @@ BUG 26380: Add \widetilde support to match \widehat
!! test
BUG 27324: Euro symbol for math
!! options
texvc
!! input
<math>\euro 200</math>
<math>\geneuro</math>
@ -69,6 +72,8 @@ BUG 27324: Euro symbol for math
!! test
BUG 27754: Archaic Greek letters for math (may require texlive-lang-greek)
!! options
texvc
!! input
<math>\digamma</math><!-- Lowercase digamma was already available -->
<math>\Coppa\coppa\varcoppa</math>
@ -88,6 +93,8 @@ BUG 27754: Archaic Greek letters for math (may require texlive-lang-greek)
!! test
BUG 19547: Apostrophe / single quotes in math \text{...}
!! options
texvc
!! input
<math>\text{next years}</math>
<math>\text{next year's}</math>
@ -101,6 +108,8 @@ BUG 19547: Apostrophe / single quotes in math \text{...}
!! test
BUG 6722: Spacing fix for functions in math HTML output
!! options
texvc
!! input
<math>\sin x</math>
<math>\sin(x)</math>
@ -121,6 +130,8 @@ BUG 6722: Spacing fix for functions in math HTML output
!! test
BUG 18912: Add \sen function for Spanish sin to math
!! options
texvc
!! input
<math>\sen x</math>
<math>\sen(x)</math>
@ -141,6 +152,8 @@ BUG 18912: Add \sen function for Spanish sin to math
!! test
BUG 18912: \operatorname{sen} x gets wrong spacing in math
!! options
texvc
!! input
<math>\operatorname{sen}</math>
!! result
@ -150,6 +163,8 @@ BUG 18912: \operatorname{sen} x gets wrong spacing in math
!! test
BUG 31442: Multiple math accents without braces fails to parse
!! options
texvc
!! input
<math>\dot \vec B</math>
!! result
@ -159,6 +174,8 @@ BUG 31442: Multiple math accents without braces fails to parse
!! test
BUG 31442: Math accents with math font fail to parse if braces not used
!! options
texvc
!! input
<math>\tilde \mathcal{M}</math>
!! result
@ -168,6 +185,8 @@ BUG 31442: Math accents with math font fail to parse if braces not used
!! test
BUG 31824: Empty math tag returns uniq
!! options
texvc
!! input
<math></math>
!! result
@ -175,8 +194,9 @@ BUG 31824: Empty math tag returns uniq
!! test
BUG 31824: Empty math tag returns uniq
!! options
texvc
!! input
<math> </math>
!! result
!! end