[llvm-commits] CVS: nightlytest-serverside/test.php

Patrick Jenkins pjenkins at apple.com
Wed Jul 26 11:49:54 PDT 2006



Changes in directory nightlytest-serverside:

test.php updated: 1.6 -> 1.7
---
Log message:

Added a more obvious link to build log and moved link for full test results up to the top of the page


---
Diffs of the changes:  (+7 -8)

 test.php |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)


Index: nightlytest-serverside/test.php
diff -u nightlytest-serverside/test.php:1.6 nightlytest-serverside/test.php:1.7
--- nightlytest-serverside/test.php:1.6	Fri Jul 21 17:09:17 2006
+++ nightlytest-serverside/test.php	Wed Jul 26 13:49:40 2006
@@ -113,6 +113,12 @@
  * Printing the times table
  *
  ******************************************************/
+print"<h3><a href=\"fulltest.php?machine=$machine_id&night=$night_id\">See Full Test Results</a></h3><br>\n";
+
+if(file_exists("machines/$machine_id/$buildfile-Build-Log.txt")){
+	print "<h3><a href=\"machines/$machine_id/$buildfile-Build-Log.txt\">".
+		  "View Build Log</a></h3><br>\n";
+}
 
 if(strpos($today_row['buildstatus'], "OK")===FALSE){
 	$disp="";
@@ -127,13 +133,7 @@
 	  "('buildStatus');\", id=\"buildStatus_\">$sign Build Status</a></font>\n";
 print "<div id=\"buildStatus\" style=\"display: $disp;\" class=\"hideable\">\n";
 print "<h3><u>Build Status </u></h3></p>";
-if(file_exists("machines/$machine_id/$buildfile-Build-Log.txt")){
-	print "<a href=\"machines/$machine_id/$buildfile-Build-Log.txt\">".
-		  "<font color=red>{$today_row['buildstatus']}</font></a><br>\n";
-}
-else{
-	print "<font color=red>{$today_row['buildstatus']}</font><br>\n";
-}
+print "<font color=red>{$today_row['buildstatus']}</font><br>\n";
 print "</div><br><br>\n";
 
 /*****************************************************
@@ -483,7 +483,6 @@
  * Finding big changes in results table
  *
  ******************************************************/
-print"<h3><a href=\"fulltest.php?machine=$machine_id&night=$night_id\">See Full Test Results</a></h3>\n";
 
 $today_results = GetDayResults($today_row['id'], $category_array, $mysql_link);
 if(isset($yesterday_row['id'])){






More information about the llvm-commits mailing list