[FFmpeg-devel] [PATCH 2/3] fateserver/history: mark build only success as green

Timothy Gu timothygu99 at gmail.com
Fri Jan 31 05:06:18 CET 2014


This was missed in e7f6fd3a which adds build only config support.

Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---
 history.cgi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/history.cgi b/history.cgi
index d52644f..0873501 100755
--- a/history.cgi
+++ b/history.cgi
@@ -83,6 +83,9 @@ for my $date ((sort { $b cmp $a } @reps)[0..49]) {
     if ($npass) {
         $rtext  = "$npass / $ntest";
         $rclass = $npass==$ntest? 'pass' : $npass? 'warn' : 'fail';
+    } elsif (!$ntest and !$$rep{status}) {
+        $rtext  = "build only";
+        $rclass = $$rep{status}? 'fail' : 'pass';
     } else {
         $rtext  = $$rep{errstr};
         $rclass = 'fail'
-- 
1.8.3.2



More information about the ffmpeg-devel mailing list