Francois Gouget : testbot: Highlight the 'silenced test' lines.

Alexandre Julliard julliard at winehq.org
Mon Feb 17 13:33:43 CST 2020


Module: tools
Branch: master
Commit: e363dfdaadbc6bc02b329309d9d6b4d0a7ddeb18
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=e363dfdaadbc6bc02b329309d9d6b4d0a7ddeb18

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Fri Feb 14 17:26:37 2020 +0100

testbot: Highlight the 'silenced test' lines.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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 9f0f313..601ff0f 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";
   }




More information about the wine-cvs mailing list