Alexandre Julliard : winetest: Highlight successes inside todo block as failures.

Alexandre Julliard julliard at winehq.org
Thu Sep 11 16:27:40 CDT 2008


Module: tools
Branch: master
Commit: 9b70527e83f05a7a23c82a02135d6d83529cc5bd
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=9b70527e83f05a7a23c82a02135d6d83529cc5bd

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Aug 26 20:23:48 2008 +0200

winetest: Highlight successes inside todo block as failures.

---

 winetest/dissect |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/winetest/dissect b/winetest/dissect
index a8ad596..d3782cb 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -249,6 +249,7 @@ while (<IN>) {
             my ($line, $text) = ($1, $2);
             my $class = "test trace";
             if ($text =~ /^Test failed: /) { $class = "test failed"; }
+            elsif ($text =~ /^Test succeeded inside todo block: /) { $class = "test failed"; }
             elsif ($text =~ /^Tests skipped: /) { $class = "test skipped"; }
             $box->{data} .= sprintf "<div class=\"%s\"><a href=%s/?a=blob;f=%s;hb=%s#l%u>%s.c:%u</a>: %s</div>\n",
                                  $class, $gitweb, $source, $testbuild, $line, $unit, $line, escapeHTML($text);




More information about the wine-cvs mailing list