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

Jim Laskey jlaskey at apple.com
Thu Sep 14 07:51:27 PDT 2006



Changes in directory nightlytest-serverside:

NightlyTestAccept.php updated: 1.28 -> 1.29
---
Log message:

testing #27

---
Diffs of the changes:  (+19 -3)

 NightlyTestAccept.php |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)


Index: nightlytest-serverside/NightlyTestAccept.php
diff -u nightlytest-serverside/NightlyTestAccept.php:1.28 nightlytest-serverside/NightlyTestAccept.php:1.29
--- nightlytest-serverside/NightlyTestAccept.php:1.28	Thu Sep 14 09:24:41 2006
+++ nightlytest-serverside/NightlyTestAccept.php	Thu Sep 14 09:51:13 2006
@@ -300,11 +300,8 @@
   mysql_free_result($insert_query);
   
   $query = "SELECT id FROM night WHERE machine=$machine_id AND added=\"$added\"";
-  print "select query: $query\n";
   $machine_query = mysql_query($query) or die(mysql_error());
-  print "select query worked\n";
   $row = mysql_fetch_array($machine_query);
-  print "select query result: $row\n";
   mysql_free_result($machine_query);
   
   if($row) {
@@ -791,6 +788,10 @@
 }
 mysql_free_result($night_query);
 
+if ($print_debug) {
+  print "prev_night: $prev_night\n";
+}
+
 $query = "SELECT * FROM program WHERE night=$night_id";
 $program_query = mysql_query($query) or die(mysql_error());
 
@@ -802,6 +803,10 @@
 }
 mysql_free_result($program_query);
 
+if ($print_debug) {
+  print "Gathered all tonight\'s programs\n";
+}
+
 $query = "SELECT * FROM program WHERE night=$prev_night";
 $prog_hash_old = array();
 while ($row = mysql_fetch_array($program_query)) {
@@ -811,6 +816,10 @@
 }
 mysql_free_result($program_query);
 
+if ($print_debug) {
+  print "Gathered all previous night\'s programs\n";
+}
+
 $output_big_changes = array();
 foreach ($prog_hash_new as $prog) {
   $prog_new = $prog_hash_new[$prog];
@@ -854,6 +863,10 @@
   }
 }
 
+if ($print_debug) {
+  print "Determined measures\n";
+}
+
 /*******************************************************************************
  *
  * Determining changes in new tests and old tests
@@ -865,6 +878,9 @@
 $passing = getFixedTests($night_id, $prev_night);
 $failing = getBrokenTests($night_id, $prev_night);
 
+if ($print_debug) {
+  print "Determined changes in new tests and old tests\n";
+}
 
 /*******************************************************************************
  *






More information about the llvm-commits mailing list