From fcb1faf4b5700ed1f8ada195a7c04765b6a1f6d2 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Fri, 21 Jun 2013 17:47:46 +0200 Subject: [PATCH] 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 --- mathParserTests.txt | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/mathParserTests.txt b/mathParserTests.txt index 231cbb8..c1ff6a0 100644 --- a/mathParserTests.txt +++ b/mathParserTests.txt @@ -1,4 +1,3 @@ - !! test pre-save transform: comment containing math !! options @@ -22,7 +21,7 @@ pst !! test BUG 1887, part 2: A with a thumbnail- math enabled !! options -math +texvc !! input [[Image:foobar.jpg|thumb|2+2]] !! result @@ -41,6 +40,8 @@ math !! test BUG 26380: Add \widetilde support to match \widehat +!! options +texvc !! input \widehat{x} \widetilde{x} @@ -52,6 +53,8 @@ BUG 26380: Add \widetilde support to match \widehat !! test BUG 27324: Euro symbol for math +!! options +texvc !! input \euro 200 \geneuro @@ -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 \digamma \Coppa\coppa\varcoppa @@ -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 \text{next years} \text{next year's} @@ -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 \sin x \sin(x) @@ -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 \sen x \sen(x) @@ -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 \operatorname{sen} !! 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 \dot \vec B !! 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 \tilde \mathcal{M} !! 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 !! result @@ -175,8 +194,9 @@ BUG 31824: Empty math tag returns uniq !! test BUG 31824: Empty math tag returns uniq +!! options +texvc !! input !! result !! end -