Based on Dan Nessett's patch set.
I put back one of the test cases which does, in fact, work at least on my config. :)
* Carlin
* Chris Wrinn
* church of emacs
+* Dan Nessett
* Daniel Arnold
* Danny B.
* Derk-Jan Hartman
* (bug 17988) Spaces before [[Category:]] links are no longer ignored
* (bug 19392) Favicon, apple-touch-icon links matching the defaults are no
longer sent
+* (bug 19957) All known-failing tests now marked disabled; added --run-disabled
+ option to parser test suite to run disabled tests if desired.
== API changes in 1.16 ==
*/
/** */
-$options = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record' );
+$options = array( 'quick', 'color', 'quiet', 'help', 'show-output', 'record'. 'run-disabled' );
$optionsWithArgs = array( 'regex', 'seed', 'setversion' );
require_once( 'commandLine.inc' );
$this->fuzzSeed = intval( $options['seed'] ) - 1;
}
+ $this->runDisabled = isset( $options['run-disabled'] );
+
$this->hooks = array();
$this->functionHooks = array();
}
if (!isset( $data['config'] ) )
$data['config'] = '';
- if (preg_match('/\\bdisabled\\b/i', $data['options'])
- || !preg_match("/{$this->regex}/i", $data['test'])) {
+ if ( (preg_match('/\\bdisabled\\b/i', $data['options'])
+ || !preg_match("/{$this->regex}/i", $data['test'])) && !$this->runDisabled ) {
# disabled test
$data = array();
$section = null;
--fuzz Do a fuzz test instead of a normal test
--seed <n> Start the fuzz test from the specified seed
--help Show this help message
+ --run-disabled run disabled tests
ENDS;
# specified here is now valid XML, which is an improvement . . .
!! test
Table security: embedded pipes (http://lists.wikimedia.org/mailman/htdig/wikitech-l/2006-April/022293.html)
+!! options
+disabled
!! input
{|
| |[ftp://|x||]" onmouseover="alert(document.cookie)">test
!! test
Link containing double-single-quotes '' (bug 4598)
+!! options
+disabled
!! input
[[Lista d''e paise d''o munno]]
!! result
!! test
HTML bullet list, unclosed tags (bug 5497)
+!! options
+disabled
!! input
<ul>
<li>One
!! test
HTML ordered list, unclosed tags (bug 5497)
+!! options
+disabled
!! input
<ol>
<li>One
!! test
HTML nested bullet list, open tags (bug 5497)
+!! options
+disabled
!! input
<ul>
<li>One
!! test
HTML nested ordered list, open tags (bug 5497)
+!! options
+disabled
!! input
<ol>
<li>One
!! test
Inline HTML vs wiki block nesting
+!! options
+disabled
!! input
<b>Bold paragraph
# ...<dd> </dt></dl> </dd...
!! test
dt/dd/dl test
+!! options
+disabled
!! input
:;;;::
!! result
# Images with the "|" character in external URLs in comment tags; Eats half the comment, leaves unmatched "</a>" tag.
!! test
Images with the "|" character in the comment
+!! options
+disabled
!! input
[[image:Foobar.jpg|thumb|An [http://test/?param1=|left|¶m2=|x external] URL]]
!! result
# Bug 6200: <blockquote> should behave like <div> with respect to line breaks
!! test
Bug 6200: paragraphs inside blockquotes (no extra line breaks)
+!! options
+disabled
!! input
<blockquote>Line one
!! test
Bug 6200: paragraphs inside blockquotes (extra line break on open)
+!! options
+disabled
!! input
<blockquote>
Line one
!! test
Bug 6200: paragraphs inside blockquotes (extra line break on close)
+!! options
+disabled
!! input
<blockquote>Line one
!! test
Bug 6200: paragraphs inside blockquotes (extra line break on open and close)
+!! options
+disabled
!! input
<blockquote>
Line one