[Commits] [svn:einsteintoolkit] www/release-info/ (Rev. 215)
knarf at cct.lsu.edu
knarf at cct.lsu.edu
Tue Jun 15 22:37:33 CDT 2010
User: knarf
Date: 2010/06/15 10:37 PM
Modified:
/release-info/
parse_testsuite_results.cgi
Log:
try to make looking up things easier
File Changes:
Directory: /release-info/
=========================
File [modified]: parse_testsuite_results.cgi
Delta lines: +5 -3
===================================================================
--- release-info/parse_testsuite_results.cgi 2010-06-16 03:21:27 UTC (rev 214)
+++ release-info/parse_testsuite_results.cgi 2010-06-16 03:37:33 UTC (rev 215)
@@ -98,8 +98,10 @@
foreach my $nprocs (sort(keys(%{$allhosts{$host}}))) {
if (defined($results{$thorn}{$test}{$host}) and
defined($results{$thorn}{$test}{$host}{$nprocs})) {
+ my $color = " style=\"background-color:#0e0e0e;\"";
+ if ($nprocs != "1") { $color = " style=\"background-color:#0f0f0f;\""; }
if ($results{$thorn}{$test}{$host}{$nprocs}{"result"} =~ /Success/) {
- $table_entries .= "<td align='center'>â</td>";
+ $table_entries .= "<td$color align='center'>â</td>";
} else {
my $details = $results{$thorn}{$test}{$host}{$nprocs}{"details"};
my $entry = "<b>$details</b>";
@@ -109,10 +111,10 @@
if ($details =~ /(\d+) files missing, (\d+) files compared, (\d+) differ/) {
$entry = "<b>$1</b> missing, <b>$3</b>/$2";
}
- $table_entries .= "<td align='center'>$entry</td>";
+ $table_entries .= "<td$color align='center'>$entry</td>";
}
} else {
- $table_entries .= "<td> </td>";
+ $table_entries .= "<td$color> </td>";
}
}
}
More information about the Commits
mailing list