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

knarf at cct.lsu.edu knarf at cct.lsu.edu
Tue Apr 12 09:23:44 CDT 2011


User: knarf
Date: 2011/04/12 09:23 AM

Modified:
 /release-info/
  parse_testsuite_results.cgi

Log:
 add link to show all p/t combinations

File Changes:

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

File [modified]: parse_testsuite_results.cgi
Delta lines: +8 -2
===================================================================
--- release-info/parse_testsuite_results.cgi	2011-04-12 14:17:53 UTC (rev 523)
+++ release-info/parse_testsuite_results.cgi	2011-04-12 14:23:44 UTC (rev 524)
@@ -155,7 +155,7 @@
               defined($results{$thorn}{$test}{$host}{$nprocs}) and
               defined($results{$thorn}{$test}{$host}{$nprocs}{$nthreads})) {
             $allhosts{$host}{$nprocs}{$nthreads}{"ran"}++;
-            my $popup = "<span class=\"info\">$host p${nprocs}/t$nthreads</span>";
+            my $popup = "<span class=\"info\">$host ${nprocs}p/${nthreads}t</span>";
             if ($results{$thorn}{$test}{$host}{$nprocs}{$nthreads}{"result"} =~ /Success/) {
               $allhosts{$host}{$nprocs}{$nthreads}{"success"}++;
               $table_entries .= "<td class='c$bg$green'>√$popup</td>";
@@ -291,5 +291,11 @@
                  }
 </style>
 CSS
+print "<p><a href='parse_testsuite_results.php".
+      (defined($ignore)?"?show_all=1'>Show all":"'>Hide some").
+      "</a> process/thread combinations.</p>\n";
+if (defined($ignore))
+{
+  print "<p><a href='parse_testsuite_results.php?show_all=1'>Show";
+print "<table border='1'>$table_entries</table>\n";
 
-print "<table border='1'>$table_entries</table>\n";



More information about the Commits mailing list