[Commits] [svn:einsteintoolkit] www/ (Rev. 241)

knarf at cct.lsu.edu knarf at cct.lsu.edu
Wed Jun 16 17:16:19 CDT 2010


User: knarf
Date: 2010/06/16 05:16 PM

Added:
 /release-info/
  green.png, red.png

Modified:
 /release-info/
  parse_testsuite_results.cgi

Log:
 status improvement

Directory Changes:

Directory: /svn:mime-type/
==========================

   + application/octet-stream

File Changes:

Directory: /release-info/
=========================

File [added]: green.png
Delta lines: +0 -0
===================================================================
(Binary files differ)



Property changes on: release-info/green.png
___________________________________________________________________

File [modified]: parse_testsuite_results.cgi
Delta lines: +13 -1
===================================================================
--- release-info/parse_testsuite_results.cgi	2010-06-16 21:46:42 UTC (rev 240)
+++ release-info/parse_testsuite_results.cgi	2010-06-16 22:16:19 UTC (rev 241)
@@ -139,7 +139,7 @@
     $table_entries .= "<th$color>$nprocs</th>";
   }
 }
-$table_entries .= "</tr>\n";
+$table_entries .= "</tr><tr>\n";
 foreach my $host (sort(keys(%allhosts))) {
   foreach my $nprocs (sort(keys(%{$allhosts{$host}}))) {
     my $color = " style=\"background-color:#d0d0d0;\"";
@@ -148,6 +148,18 @@
                                                      $allhosts{$host}{$nprocs}{"ran"}."</td>";
   }
 }
+$table_entries .= "</tr><tr>\n";
+foreach my $host (sort(keys(%allhosts))) {
+  foreach my $nprocs (sort(keys(%{$allhosts{$host}}))) {
+    my $color = " style=\"background-color:#d0d0d0;\"";
+    if ($nprocs != "1") { $color = " style=\"background-color:#e0e0e0;\""; }
+    $table_entries .= "<td$color align='center' valign='bottom'>".
+                      "<img src='green.png' alt='success' width='30px' height='".
+                      $allhosts{$host}{$nprocs}{"success"}."px'/><br>".
+                      "<img src='red.png' alt='fail' width='30px' height='".
+                      $allhosts{$host}{$nprocs}{"ran"}."px'/></td>";
+  }
+}
 $table_entries .= "</tr>\n";
 
 print "<table border='1'>$table_entries</table>\n";

File [added]: red.png
Delta lines: +0 -0
===================================================================
(Binary files differ)



Property changes on: release-info/red.png
___________________________________________________________________



More information about the Commits mailing list