[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [sysadmin/gerrit-ci-matrix] /: Distinguish between a test failure and other type of failures
From:       Jan_Kundrát <jkt () flaska ! net>
Date:       2016-10-01 0:45:38
Message-ID: E1bq8Qs-0003GL-C1 () code ! kde ! org
[Download RAW message or body]

Git commit 912dda095879fc39cd828ff637ffcf493874ad04 by Jan Kundrát.
Committed on 11/06/2015 at 23:03.
Pushed by jkt into branch 'master'.

Distinguish between a test failure and other type of failures

M  +4    -1    matrix.html

http://commits.kde.org/sysadmin/gerrit-ci-matrix/912dda095879fc39cd828ff637ffcf493874ad04

diff --git a/matrix.html b/matrix.html
index 24a5469..56e3e44 100644
--- a/matrix.html
+++ b/matrix.html
@@ -8,7 +8,8 @@
   td { border: 1px solid #222222; }
   table { border-collapse: collapse; }
   td.SUCCESS { background-color: #aaffaa; }
-  td.FAILURE { background-color: #ffaaaa; }
+  td.FAILURE { background-color: #ff8888; }
+  td.FAILURE_tests { background-color: #ffcccc; }
   td.not-run { background-color: #dddddd; }
 </style>
 <script src="jquery-1.11.3.min.js" type="text/javascript"></script>
@@ -109,6 +110,8 @@ function loadCI(jQuery) {
               td.attr('title', format_duration(job.duration) + '\non ' + new Date(job.time * 1000));
               if (res == 'SUCCESS') {
                 td.addClass(res);
+	      } else if (res.lastIndexOf('Tests failed', 0) === 0) {
+                td.addClass('FAILURE_tests');
               } else {
                 td.addClass('FAILURE');
               }

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic