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

Jim Laskey jlaskey at apple.com
Sat Sep 16 18:39:25 PDT 2006



Changes in directory nightlytest-serverside:

ProgramResults.php updated: 1.76 -> 1.77
---
Log message:

Debugging #17

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

 ProgramResults.php |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletion(-)


Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.76 nightlytest-serverside/ProgramResults.php:1.77
--- nightlytest-serverside/ProgramResults.php:1.76	Sat Sep 16 20:32:40 2006
+++ nightlytest-serverside/ProgramResults.php	Sat Sep 16 20:39:11 2006
@@ -632,6 +632,13 @@
  */
 function getPassingTests($id, $test_hash) {
   $result = "";
+  
+  $result .= "OLD\n";
+  foreach ($test_hash as $key => $value) {
+    $result .= "$key [$value]\n";
+  }
+  $result .= "\n\nNEW\n";
+  
   $query = "SELECT program, result, measure FROM tests WHERE night=$id ORDER BY program ASC, measure ASC";
   $program_query = mysql_query($query) or die (mysql_error());
   while ($row = mysql_fetch_assoc($program_query)) {
@@ -639,7 +646,8 @@
       $program = trimTestPath($row['program']);
       $measure = $row['measure'];
       $result = $test_hash[$program];
-      if (strpos("$result", $measure) !== false) {
+//      if (strpos("$result", $measure) !== false) {
+if(1) {
         $result .= "$program [$measure]\n";
       }
     }






More information about the llvm-commits mailing list