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

Jim Laskey jlaskey at apple.com
Wed Aug 30 14:55:09 PDT 2006



Changes in directory nightlytest-serverside:

ProgramResults.php updated: 1.21 -> 1.22
---
Log message:

Debugging newly pass fail report attempt #13.


---
Diffs of the changes:  (+4 -4)

 ProgramResults.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.21 nightlytest-serverside/ProgramResults.php:1.22
--- nightlytest-serverside/ProgramResults.php:1.21	Wed Aug 30 16:50:06 2006
+++ nightlytest-serverside/ProgramResults.php	Wed Aug 30 16:54:55 2006
@@ -572,7 +572,7 @@
     while($row = mysql_fetch_array($program_query)){
       $test_key = $row['program'];
       if(isset($test_hash[$test_key]) && strpos($row['result'], "*") === false){
-        $result .= $row['result'] . ":" . $test_key . "<br>\n";
+        $result .= $test_key . "<br>\n";
       }
     }
     mysql_free_result($program_query);
@@ -626,7 +626,7 @@
     $query = "SELECT * FROM program WHERE night=$cur_id";
     $program_query = mysql_query($query) or die (mysql_error());
     while($row = mysql_fetch_array($program_query)){
-      if(strpos($row['result'], "*") === false) {
+      if(!(strpos($row['result'], "*") === false)) {
         $test_hash[$row['program']]=1;
       }    
     }
@@ -636,8 +636,8 @@
     $program_query = mysql_query($query) or die (mysql_error());
     while($row = mysql_fetch_array($program_query)){
       $test_key = $row['program'];
-      if(isset($test_hash[$test_key]) && !(strpos($row['result'], "*") === false)){
-        $result .= $row['result'] . ":" . $test_key . "<br>\n";
+      if(isset($test_hash[$test_key]) && strpos($row['result'], "*") === false){
+        $result .= $test_key . "<br>\n";
       }
     }
     mysql_free_result($program_query);






More information about the llvm-commits mailing list