[tools] winetest/dissect: Minor tweaks to match the TestBot parser.

Francois Gouget fgouget at codeweavers.com
Mon Jan 25 08:26:43 CST 2021


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 winetest/dissect | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/winetest/dissect b/winetest/dissect
index 8f30ccde2..c62f9141b 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -591,7 +591,7 @@ sub close_test_unit($)
 $line =~ /^Test output:/ or mydie "no test header: $line";
 while ($line = <IN>) {
     $unitsize += length($line);
-    next if ($line =~ /^\s*$/);
+    next if ($line =~ /^\s*$/); # empty lines have no impact
     chomp $line;
     $line =~ s/\r+$//;
     if ($line =~ m%^([_.a-z0-9-]+):([_a-z0-9]+) (start|skipped) (-|[/_.a-z0-9-]+) (-|[.0-9a-f]+)$%)
@@ -697,8 +697,8 @@ while ($line = <IN>) {
             # There may be more than one summary line due to child processes
             $pids{$l_pid || 0} = 1;
             $s_total += $l_total;
-            $s_todo += $l_todo;
             $s_failures += $l_failures;
+            $s_todo += $l_todo;
             $s_skipped += $l_skipped;
             add_test_line($class, escapeHTML($line));
         }
-- 
2.20.1



More information about the wine-devel mailing list