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

Jim Laskey jlaskey at apple.com
Wed Aug 30 14:50:20 PDT 2006



Changes in directory nightlytest-serverside:

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

Debugging newly pass fail report attempt #12.


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

 ProgramResults.php |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)


Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.20 nightlytest-serverside/ProgramResults.php:1.21
--- nightlytest-serverside/ProgramResults.php:1.20	Wed Aug 30 16:38:51 2006
+++ nightlytest-serverside/ProgramResults.php	Wed Aug 30 16:50:06 2006
@@ -507,7 +507,7 @@
     while($row = mysql_fetch_array($program_query)){
       $test_key = "{$row['measure']} - {$row['program']}";
       if(!isset($test_hash[$test_key])){
-        $result .= "{$row['result']}" . ":" . $test_key . "<br>\n";
+        $result .= $test_key . "<br>\n";
       }
     }
     mysql_free_result($program_query);
@@ -561,8 +561,8 @@
     $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)) {
-        $test_hash["{$row['program']}"]=$row['result'];
+      if(!(strpos($row['result'], "*") === false)) {
+        $test_hash[$row['program']]=$row['result'];
       }    
     }
     mysql_free_result($program_query);
@@ -570,9 +570,9 @@
     $query = "SELECT * FROM program WHERE night=$cur_id ORDER BY program ASC";
     $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";
+      $test_key = $row['program'];
+      if(isset($test_hash[$test_key]) && strpos($row['result'], "*") === false){
+        $result .= $row['result'] . ":" . $test_key . "<br>\n";
       }
     }
     mysql_free_result($program_query);
@@ -626,8 +626,8 @@
     $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) {
-        $test_hash["{$row['program']}"]=1;
+      if(strpos($row['result'], "*") === false) {
+        $test_hash[$row['program']]=1;
       }    
     }
     mysql_free_result($program_query);
@@ -635,9 +635,9 @@
     $query = "SELECT * FROM program WHERE night=$prev_id ORDER BY program ASC";
     $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 .= $test_key . "<br>\n";
+      $test_key = $row['program'];
+      if(isset($test_hash[$test_key]) && !(strpos($row['result'], "*") === false)){
+        $result .= $row['result'] . ":" . $test_key . "<br>\n";
       }
     }
     mysql_free_result($program_query);






More information about the llvm-commits mailing list