[Commits] [svn:einsteintoolkit] www/release-info/ (Rev. 495)

knarf at cct.lsu.edu knarf at cct.lsu.edu
Mon Apr 4 22:50:59 CDT 2011


User: knarf
Date: 2011/04/04 10:50 PM

Modified:
 /release-info/
  parse_testsuite_results.cgi

Log:
 fix bug

File Changes:

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

File [modified]: parse_testsuite_results.cgi
Delta lines: +1 -1
===================================================================
--- release-info/parse_testsuite_results.cgi	2011-04-05 03:48:47 UTC (rev 494)
+++ release-info/parse_testsuite_results.cgi	2011-04-05 03:50:58 UTC (rev 495)
@@ -226,7 +226,7 @@
   foreach my $nprocs (sort(keys(%{$allhosts{$host}}))) {
    foreach my $nthreads (sort(keys(%{$allhosts{$host}{$nprocs}}))) {
     my $color = " style=\"background-color:#d0d0d0;\"";
-    my $png = (Date_Cmp($fileinfo{$host}{$nprocs}{"time"}, $too_old) > 0) ? "red":"dark";
+    my $png = (Date_Cmp($fileinfo{$host}{$nprocs}{$nthreads}{"time"}, $too_old) > 0) ? "red":"dark";
     if ($nprocs != "1") { $color = " style=\"background-color:#e0e0e0;\""; }
     $table_entries_h .= "<td$color align='center' valign='bottom'>".
                       "<img src='$png.png' alt='fail' width='20px' height='".



More information about the Commits mailing list