[tools] testbot: Highlight the 'silenced test' lines.

Francois Gouget fgouget at codeweavers.com
Fri Feb 14 10:26:37 CST 2020


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 9f0f31307e..601ff0fcd8 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -317,7 +317,9 @@ sub GetReportLineCategory($)
     return "todo";
   }
   if ($Line =~ /: Tests skipped: / or
-      $Line =~ /^[_.a-z0-9-]+:[_a-z0-9]* skipped /)
+      $Line =~ /^[_.a-z0-9-]+:[_a-z0-9]* skipped / or
+      $Line =~ /^[_.a-z0-9-]+:\d+ Line has been silenced after \d+ occurrences$/ or
+      $Line =~ /^[0-9a-f]+:[_a-z0-9]+: Silenced \d+ todos, \d+ skips and \d+ traces\.$/)
   {
     return "skip";
   }
-- 
2.20.1



More information about the wine-devel mailing list