Module: tools Branch: master Commit: 72e55a7b302cdc878d4c986d94647d6641885a79 URL: https://source.winehq.org/git/tools.git/?a=commit;h=72e55a7b302cdc878d4c986d...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Mar 16 12:13:07 2021 +0100
testbot/LogUtils: Highlight the dll 'version' errors.
WineTest replaces the dll version information with an error message when it cannot get that information, or if the dll is missing an entry point needed by the test.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/lib/WineTestBot/LogUtils.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm index eced000..840a552 100644 --- a/testbot/lib/WineTestBot/LogUtils.pm +++ b/testbot/lib/WineTestBot/LogUtils.pm @@ -325,7 +325,9 @@ sub GetReportLineCategory($) { return "skip"; } - if ($Line =~ /^[_.a-z0-9-]+:[_a-z0-9]* start / or + if ($Line =~ /^ \w+=dll is (?:missing|native|a stub)/ or + $Line =~ /^ \w+=(?:load error|version error \d+|version not (?:found|present))$/ or + $Line =~ /^[_.a-z0-9-]+:[_a-z0-9]* start / or $Line =~ /: this is the last test seen before the exception/) { return "info";