[tools] testbot/LogUtils: Highlight the dll 'version' errors.

Francois Gouget fgouget at codeweavers.com
Tue Mar 16 06:13:07 CDT 2021


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 at codeweavers.com>
---
 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 eced000cb..840a5526a 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";
-- 
2.20.1




More information about the wine-devel mailing list