Francois Gouget : winetest/dissect: Minor tweaks to match the TestBot parser.
Alexandre Julliard
julliard at winehq.org
Tue Jan 26 15:53:01 CST 2021
Module: tools
Branch: master
Commit: 88067fd0902473fe33417779ef7b55e676e87ba5
URL: https://source.winehq.org/git/tools.git/?a=commit;h=88067fd0902473fe33417779ef7b55e676e87ba5
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon Jan 25 15:26:43 2021 +0100
winetest/dissect: Minor tweaks to match the TestBot parser.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
winetest/dissect | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/winetest/dissect b/winetest/dissect
index 8f30ccd..c62f914 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));
}
More information about the wine-cvs
mailing list