[PATCH] testbot/web: Fix display of time.count statistics.

Francois Gouget fgouget at codeweavers.com
Wed Jan 3 05:45:58 CST 2018


This fixes the 'Task count' statistic.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/web/Stats.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/web/Stats.pl b/testbot/web/Stats.pl
index 424d33e0..d9f43814 100644
--- a/testbot/web/Stats.pl
+++ b/testbot/web/Stats.pl
@@ -122,7 +122,7 @@ sub _GetStatStr($$;$$)
     return "n/a" if (!$AllStats->{elapsed});
     return sprintf('%.1f%', 100 * $Value / $AllStats->{elapsed});
   }
-  if ($StatKey =~ /(?:\belapsed|\.time)\b/)
+  if ($StatKey =~ /(?:\belapsed|\.time(?!\.count))/)
   {
     return _GetDuration($Value, $Flags & $NO_TIME);
   }
-- 
2.15.1



More information about the wine-devel mailing list