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

Patrick Jenkins pjenkins at apple.com
Wed Jul 26 13:51:03 CDT 2006



Changes in directory nightlytest-serverside:

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

Fixed test to see if build file exists before we link to it


---
Diffs of the changes:  (+2 -1)

 test.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: nightlytest-serverside/test.php
diff -u nightlytest-serverside/test.php:1.7 nightlytest-serverside/test.php:1.8
--- nightlytest-serverside/test.php:1.7	Wed Jul 26 13:49:40 2006
+++ nightlytest-serverside/test.php	Wed Jul 26 13:50:49 2006
@@ -115,6 +115,7 @@
  ******************************************************/
 print"<h3><a href=\"fulltest.php?machine=$machine_id&night=$night_id\">See Full Test Results</a></h3><br>\n";
 
+$buildfile=str_replace(" ", "_", $cur_date);
 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";
@@ -128,7 +129,7 @@
 	$disp="none";
 	$sign="(-)";
 }
-$buildfile=str_replace(" ", "_", $cur_date);	
+
 print "<font size=\"-1\"><a href=\"javascript://\"onclick=\"toggleLayer".
 	  "('buildStatus');\", id=\"buildStatus_\">$sign Build Status</a></font>\n";
 print "<div id=\"buildStatus\" style=\"display: $disp;\" class=\"hideable\">\n";






More information about the llvm-commits mailing list