Module: tools
Branch: master
Commit: b03a5e895e9e6dd6f673938a8ccd9fd54b4538bc
URL: https://source.winehq.org/git/tools.git/?a=commit;h=b03a5e895e9e6dd6f673938…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Wed Jun 27 08:09:49 2018 +0200
testbot/web: Let GetHtmlLine() detect and format the timeout errors.
It already handles filtering and highlighting errors so it makes sense
to also have if reformat the timeout errors for the log summary.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/web/JobDetails.pl | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/testbot/web/JobDetails.pl b/testbot/web/JobDetails.pl
index e5f7929..e7e53d2 100644
--- a/testbot/web/JobDetails.pl
+++ b/testbot/web/JobDetails.pl
@@ -253,6 +253,11 @@ sub GetHtmlLine($$$)
return undef if ($Category ne "error" and !$FullLog);
my $Html = $self->escapeHTML($Line);
+ if (!$FullLog and $Html =~ m/^[^:]+:([^:]*)(?::[0-9a-f]+)? done \(258\)/)
+ {
+ my $Unit = $1;
+ return $Unit ne "" ? "$Unit: Timeout" : "Timeout";
+ }
if ($FullLog and $Category ne "none")
{
# Highlight all line categories in the full log
@@ -414,15 +419,7 @@ sub GenerateBody($)
print "<pre><code>";
$LogFirst = 0;
}
- if (!$MoreInfo->{Full} && $Line =~ m/^[^:]+:([^:]*)(?::[0-9a-f]+)? done \(258\)/)
- {
- my $Unit = $1 ne "" ? "$1: " : "";
- print "${Unit}Timeout\n";
- }
- else
- {
- print "$Html\n";
- }
+ print "$Html\n";
}
close($LogFile);
Module: tools
Branch: master
Commit: 09db2bcc1b05b57583c4285803fa5c2012ddbad2
URL: https://source.winehq.org/git/tools.git/?a=commit;h=09db2bcc1b05b57583c4285…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Wed Jun 27 08:05:01 2018 +0200
testbot: Run WineTest on Wine VMs after commits.
WineReconfig.pl now knows how to retrieve and cache the Gecko and Mono
addons, and how to create new wineprefixes. These are then captured by
the updated snapshot and are thus ready to use to run tests.
CheckForWinetestUpdate.pl creates additional steps to rerun the full
WineTest suite on the Wine VMs if the Wine rebuild was successful.
Running WineTest is handled by WineTest.pl and WineRunWineTest.pl
collects the corresponding reports in the latest directory in files
named '<vm>_<build>.report' where build is one of win32, wow32 or
wow64.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/bin/CheckForWinetestUpdate.pl | 44 ++++++-
testbot/bin/WineRunWineTest.pl | 218 +++++++++++++++++++++++++++++-----
testbot/bin/build/WineReconfig.pl | 189 +++++++++++++++++++++++++++--
testbot/bin/build/WineTest.pl | 118 ++++++++++++++++--
testbot/lib/WineTestBot/LogUtils.pm | 8 +-
testbot/lib/WineTestBot/Utils.pm | 19 ++-
6 files changed, 537 insertions(+), 59 deletions(-)
Diff: https://source.winehq.org/git/tools.git/?a=commitdiff;h=09db2bcc1b05b57583c…