Module: tools
Branch: master
Commit: bcf229e0da4356a86bd49301125a5ae7eac07173
URL: https://source.winehq.org/git/tools.git/?a=commit;h=bcf229e0da4356a86bd4930…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Sun Aug 26 10:17:47 2018 +0200
testbot: Add a note regarding the detection of new errors.
The detection of new errors may be based on a WineTest report which is
not up-to-date. However this should not be a real issue in practice.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/bin/WineSendLog.pl | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index f3b56d8..b0efa8c 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -266,6 +266,12 @@ EOF
# Build a job summary with only the new errors
#
+ # Note that this may be a bit inaccurate right after a Wine commit if this
+ # job's patch got compiled on top of the new Wine before all the reference
+ # WineTest results were updated. This is made more likely by the job
+ # priorities: high for Wine updates, and low for WineTest runs.
+ # However in practice this would only be an issue if the patch reintroduced
+ # an error that just disappeared in the latest Wine which is highly unlikely.
my @Messages;
foreach my $Key (@SortedKeys)
{
Module: tools
Branch: master
Commit: 49c5f27bb747c84999254d4b6b36a2b29a7b0d9e
URL: https://source.winehq.org/git/tools.git/?a=commit;h=49c5f27bb747c84999254d4…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Sun Aug 26 10:17:16 2018 +0200
testbot/WineSendLog: Use LogUtils to identify (new) errors.
Added LogUtils::GetNewLogErrors() to identify new errors in test
reports and their associated extra errors files. Note that unlike
WineSendLog.pl's old CompareLogs() function GetNewLogErrors() can deal
with reports containing the errors for multiple modules, which is a
requirement for running the tests on Wine.
WineSendLog.pl now uses LogUtils instead of duplicating the code.
Besides reaping the benefits from the improved GetNewLogErrors() this
also improves error detection and ensures it is consistent with
JobDetails.pl.
Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
testbot/bin/WineSendLog.pl | 380 ++++++++----------------------------
testbot/lib/WineTestBot/LogUtils.pm | 106 +++++++++-
2 files changed, 183 insertions(+), 303 deletions(-)
Diff: https://source.winehq.org/git/tools.git/?a=commitdiff;h=49c5f27bb747c849992…