Index: trunk/phase3/maintenance/parserTests.inc |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | */ |
27 | 27 | |
28 | 28 | /** */ |
29 | | -$options = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record' ); |
| 29 | +$options = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record'. 'run-disabled' ); |
30 | 30 | $optionsWithArgs = array( 'regex', 'seed', 'setversion' ); |
31 | 31 | |
32 | 32 | require_once( 'commandLine.inc' ); |
— | — | @@ -125,6 +125,8 @@ |
126 | 126 | $this->fuzzSeed = intval( $options['seed'] ) - 1; |
127 | 127 | } |
128 | 128 | |
| 129 | + $this->runDisabled = isset( $options['run-disabled'] ); |
| 130 | + |
129 | 131 | $this->hooks = array(); |
130 | 132 | $this->functionHooks = array(); |
131 | 133 | } |
— | — | @@ -356,8 +358,8 @@ |
357 | 359 | if (!isset( $data['config'] ) ) |
358 | 360 | $data['config'] = ''; |
359 | 361 | |
360 | | - if (preg_match('/\\bdisabled\\b/i', $data['options']) |
361 | | - || !preg_match("/{$this->regex}/i", $data['test'])) { |
| 362 | + if ( (preg_match('/\\bdisabled\\b/i', $data['options']) |
| 363 | + || !preg_match("/{$this->regex}/i", $data['test'])) && !$this->runDisabled ) { |
362 | 364 | # disabled test |
363 | 365 | $data = array(); |
364 | 366 | $section = null; |
Index: trunk/phase3/maintenance/parserTests.php |
— | — | @@ -46,6 +46,7 @@ |
47 | 47 | --fuzz Do a fuzz test instead of a normal test |
48 | 48 | --seed <n> Start the fuzz test from the specified seed |
49 | 49 | --help Show this help message |
| 50 | + --run-disabled run disabled tests |
50 | 51 | |
51 | 52 | |
52 | 53 | ENDS; |
Index: trunk/phase3/maintenance/parserTests.txt |
— | — | @@ -1271,6 +1271,8 @@ |
1272 | 1272 | # specified here is now valid XML, which is an improvement . . . |
1273 | 1273 | !! test |
1274 | 1274 | Table security: embedded pipes (http://lists.wikimedia.org/mailman/htdig/wikitech-l/2006-April/022293.html) |
| 1275 | +!! options |
| 1276 | +disabled |
1275 | 1277 | !! input |
1276 | 1278 | {| |
1277 | 1279 | | |[ftp://|x||]" onmouseover="alert(document.cookie)">test |
— | — | @@ -1471,6 +1473,8 @@ |
1472 | 1474 | |
1473 | 1475 | !! test |
1474 | 1476 | Link containing double-single-quotes '' (bug 4598) |
| 1477 | +!! options |
| 1478 | +disabled |
1475 | 1479 | !! input |
1476 | 1480 | [[Lista d''e paise d''o munno]] |
1477 | 1481 | !! result |
— | — | @@ -4787,6 +4791,8 @@ |
4788 | 4792 | |
4789 | 4793 | !! test |
4790 | 4794 | HTML bullet list, unclosed tags (bug 5497) |
| 4795 | +!! options |
| 4796 | +disabled |
4791 | 4797 | !! input |
4792 | 4798 | <ul> |
4793 | 4799 | <li>One |
— | — | @@ -4817,6 +4823,8 @@ |
4818 | 4824 | |
4819 | 4825 | !! test |
4820 | 4826 | HTML ordered list, unclosed tags (bug 5497) |
| 4827 | +!! options |
| 4828 | +disabled |
4821 | 4829 | !! input |
4822 | 4830 | <ol> |
4823 | 4831 | <li>One |
— | — | @@ -4857,6 +4865,8 @@ |
4858 | 4866 | |
4859 | 4867 | !! test |
4860 | 4868 | HTML nested bullet list, open tags (bug 5497) |
| 4869 | +!! options |
| 4870 | +disabled |
4861 | 4871 | !! input |
4862 | 4872 | <ul> |
4863 | 4873 | <li>One |
— | — | @@ -4905,6 +4915,8 @@ |
4906 | 4916 | |
4907 | 4917 | !! test |
4908 | 4918 | HTML nested ordered list, open tags (bug 5497) |
| 4919 | +!! options |
| 4920 | +disabled |
4909 | 4921 | !! input |
4910 | 4922 | <ol> |
4911 | 4923 | <li>One |
— | — | @@ -5221,6 +5233,8 @@ |
5222 | 5234 | |
5223 | 5235 | !! test |
5224 | 5236 | Inline HTML vs wiki block nesting |
| 5237 | +!! options |
| 5238 | +disabled |
5225 | 5239 | !! input |
5226 | 5240 | <b>Bold paragraph |
5227 | 5241 | |
— | — | @@ -6404,6 +6418,8 @@ |
6405 | 6419 | # ...<dd> </dt></dl> </dd... |
6406 | 6420 | !! test |
6407 | 6421 | dt/dd/dl test |
| 6422 | +!! options |
| 6423 | +disabled |
6408 | 6424 | !! input |
6409 | 6425 | :;;;:: |
6410 | 6426 | !! result |
— | — | @@ -6421,6 +6437,8 @@ |
6422 | 6438 | # Images with the "|" character in external URLs in comment tags; Eats half the comment, leaves unmatched "</a>" tag. |
6423 | 6439 | !! test |
6424 | 6440 | Images with the "|" character in the comment |
| 6441 | +!! options |
| 6442 | +disabled |
6425 | 6443 | !! input |
6426 | 6444 | [[image:Foobar.jpg|thumb|An [http://test/?param1=|left|¶m2=|x external] URL]] |
6427 | 6445 | !! result |
— | — | @@ -7093,6 +7111,8 @@ |
7094 | 7112 | # Bug 6200: <blockquote> should behave like <div> with respect to line breaks |
7095 | 7113 | !! test |
7096 | 7114 | Bug 6200: paragraphs inside blockquotes (no extra line breaks) |
| 7115 | +!! options |
| 7116 | +disabled |
7097 | 7117 | !! input |
7098 | 7118 | <blockquote>Line one |
7099 | 7119 | |
— | — | @@ -7105,6 +7125,8 @@ |
7106 | 7126 | |
7107 | 7127 | !! test |
7108 | 7128 | Bug 6200: paragraphs inside blockquotes (extra line break on open) |
| 7129 | +!! options |
| 7130 | +disabled |
7109 | 7131 | !! input |
7110 | 7132 | <blockquote> |
7111 | 7133 | Line one |
— | — | @@ -7120,6 +7142,8 @@ |
7121 | 7143 | |
7122 | 7144 | !! test |
7123 | 7145 | Bug 6200: paragraphs inside blockquotes (extra line break on close) |
| 7146 | +!! options |
| 7147 | +disabled |
7124 | 7148 | !! input |
7125 | 7149 | <blockquote>Line one |
7126 | 7150 | |
— | — | @@ -7135,6 +7159,8 @@ |
7136 | 7160 | |
7137 | 7161 | !! test |
7138 | 7162 | Bug 6200: paragraphs inside blockquotes (extra line break on open and close) |
| 7163 | +!! options |
| 7164 | +disabled |
7139 | 7165 | !! input |
7140 | 7166 | <blockquote> |
7141 | 7167 | Line one |
Index: trunk/phase3/CREDITS |
— | — | @@ -65,6 +65,7 @@ |
66 | 66 | * Carlin |
67 | 67 | * Chris Wrinn |
68 | 68 | * church of emacs |
| 69 | +* Dan Nessett |
69 | 70 | * Daniel Arnold |
70 | 71 | * Danny B. |
71 | 72 | * Derk-Jan Hartman |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -346,6 +346,8 @@ |
347 | 347 | * (bug 17988) Spaces before [[Category:]] links are no longer ignored |
348 | 348 | * (bug 19392) Favicon, apple-touch-icon links matching the defaults are no |
349 | 349 | longer sent |
| 350 | +* (bug 19957) All known-failing tests now marked disabled; added --run-disabled |
| 351 | + option to parser test suite to run disabled tests if desired. |
350 | 352 | |
351 | 353 | == API changes in 1.16 == |
352 | 354 | |