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

Jim Laskey jlaskey at apple.com
Wed Aug 30 14:36:38 PDT 2006



Changes in directory nightlytest-serverside:

ProgramResults.php updated: 1.18 -> 1.19
---
Log message:

Debugging newly pass fail report attempt #10.


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

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


Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.18 nightlytest-serverside/ProgramResults.php:1.19
--- nightlytest-serverside/ProgramResults.php:1.18	Wed Aug 30 16:29:31 2006
+++ nightlytest-serverside/ProgramResults.php	Wed Aug 30 16:36:23 2006
@@ -561,7 +561,7 @@
     $query = "SELECT * FROM program WHERE night=$prev_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']}"]=$row['result'];
       }    
     }
@@ -636,7 +636,7 @@
     $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){
+      if(isset($test_hash[$test_key]) && !(strpos("{$row['result']}", "*") === false)){
         $result .= $test_key . "<br>\n";
       }
     }






More information about the llvm-commits mailing list