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
* Carlin
* Chris Wrinn
* church of emacs
* Daniel Arnold
* Danny B.
* Derk-Jan Hartman
* 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 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 ==
== 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' );
$optionsWithArgs = array( 'regex', 'seed', 'setversion' );
require_once( 'commandLine.inc' );
$this->fuzzSeed = intval( $options['seed'] ) - 1;
}
$this->fuzzSeed = intval( $options['seed'] ) - 1;
}
+ $this->runDisabled = isset( $options['run-disabled'] );
+
$this->hooks = array();
$this->functionHooks = array();
}
$this->hooks = array();
$this->functionHooks = array();
}
if (!isset( $data['config'] ) )
$data['config'] = '';
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;
# 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
--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
# 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)
# 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)
!! input
{|
| |[ftp://|x||]" onmouseover="alert(document.cookie)">test
!! input
{|
| |[ftp://|x||]" onmouseover="alert(document.cookie)">test
!! test
Link containing double-single-quotes '' (bug 4598)
!! test
Link containing double-single-quotes '' (bug 4598)
!! input
[[Lista d''e paise d''o munno]]
!! result
!! input
[[Lista d''e paise d''o munno]]
!! result
!! test
HTML bullet list, unclosed tags (bug 5497)
!! test
HTML bullet list, unclosed tags (bug 5497)
!! test
HTML ordered list, unclosed tags (bug 5497)
!! test
HTML ordered list, unclosed tags (bug 5497)
!! test
HTML nested bullet list, open tags (bug 5497)
!! test
HTML nested bullet list, open tags (bug 5497)
!! test
HTML nested ordered list, open tags (bug 5497)
!! test
HTML nested ordered list, open tags (bug 5497)
!! test
Inline HTML vs wiki block nesting
!! test
Inline HTML vs wiki block nesting
!! input
<b>Bold paragraph
!! input
<b>Bold paragraph
# ...<dd> </dt></dl> </dd...
!! test
dt/dd/dl test
# ...<dd> </dt></dl> </dd...
!! test
dt/dd/dl test
!! input
:;;;::
!! result
!! 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
# 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
!! input
[[image:Foobar.jpg|thumb|An [http://test/?param1=|left|¶m2=|x external] URL]]
!! result
!! 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)
# Bug 6200: <blockquote> should behave like <div> with respect to line breaks
!! test
Bug 6200: paragraphs inside blockquotes (no extra line breaks)
!! input
<blockquote>Line one
!! input
<blockquote>Line one
!! test
Bug 6200: paragraphs inside blockquotes (extra line break on open)
!! test
Bug 6200: paragraphs inside blockquotes (extra line break on open)
!! input
<blockquote>
Line one
!! input
<blockquote>
Line one
!! test
Bug 6200: paragraphs inside blockquotes (extra line break on close)
!! test
Bug 6200: paragraphs inside blockquotes (extra line break on close)
!! input
<blockquote>Line one
!! input
<blockquote>Line one
!! test
Bug 6200: paragraphs inside blockquotes (extra line break on open and close)
!! test
Bug 6200: paragraphs inside blockquotes (extra line break on open and close)
!! input
<blockquote>
Line one
!! input
<blockquote>
Line one