[tools] testbot/LogUtils: Ignore empty report lines.
Francois Gouget
fgouget at codeweavers.com
Tue Jan 26 21:03:36 CST 2021
They have no impact on the ParseWineTestReport() result.
Also this matches the winetest parser behavior.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/lib/WineTestBot/LogUtils.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index 65ce6177b..b16334ace 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -531,6 +531,7 @@ sub ParseWineTestReport($$$)
{
$LineNo++;
$Cur->{UnitSize} += length($Line);
+ next if ($Line =~ /^\s*$/); # empty lines have no impact
chomp $Line;
$Line =~ s/\r+$//;
--
2.20.1
More information about the wine-devel
mailing list