[Tools] winetest: Ignore the time it took to run the tests.

Francois Gouget fgouget at codeweavers.com
Fri Feb 15 04:18:17 CST 2013


---

This is the companion for Wine's patch 'winetest: Trace the time it 
takes to run each test.'.

 winetest/dissect |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winetest/dissect b/winetest/dissect
index 605292d..f2e18a2 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -288,7 +288,7 @@ while (<IN>) {
         if ($failed) { $class .= " failed"; }
         elsif ($todo) { $class .= " todo"; }
         $testbox->{data} .= sprintf "<div class=\"%s\">%s</div>\n", $class, escapeHTML($_);
-    } elsif (/$dll:$unit done \((-?\d+)\)\r?$/) {
+    } elsif (/$dll:$unit done \((-?\d+)\)(?:\r?$| in)/) {
         chomp;                  # current test ended
         if ($lines==0 || $1 < 0) {
             $result = "failed $1 - -";
-- 
1.7.10.4



More information about the wine-patches mailing list