Changes in directory nightlytest-serverside:

ProgramResults.php updated: 1.14 -> 1.15
---
Log message:

Debugging newly pass fail report attempt #6.


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

 ProgramResults.php |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)


Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.14 
nightlytest-serverside/ProgramResults.php:1.15
--- nightlytest-serverside/ProgramResults.php:1.14      Wed Aug 30 15:56:51 2006
+++ nightlytest-serverside/ProgramResults.php   Wed Aug 30 16:00:05 2006
@@ -546,7 +546,7 @@
     }
     mysql_free_result($program_query);
 
-    $query = "SELECT * FROM tests WHERE night=$cur_id";
+    $query = "SELECT * FROM tests 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['measure']} - {$row['program']}";
@@ -567,7 +567,7 @@
     }
     mysql_free_result($program_query);
 
-    $query = "SELECT * FROM program WHERE night=$cur_id";
+    $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['measure']} - {$row['program']}";
@@ -612,7 +612,7 @@
     }
     mysql_free_result($program_query);
 
-    $query = "SELECT * FROM tests WHERE night=$prev_id";
+    $query = "SELECT * FROM tests 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['measure']} - {$row['program']}";
@@ -628,15 +628,15 @@
     $program_query = mysql_query($query) or die (mysql_error());
     while($row = mysql_fetch_array($program_query)){
       if(strcmp("{$row['result']}", "PASS")!==0){
-        $test_hash["{$row['measure']} - {$row['program']}"]=$row['result'];
+        $test_hash["{$row['program']}"]=$row['result'];
       }    
     }
     mysql_free_result($program_query);
 
-    $query = "SELECT * FROM program WHERE night=$prev_id";
+    $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['measure']} - {$row['program']}";
+      $test_key = "{$row['program']}";
       if(isset($test_hash[$test_key]) && 
          strcmp($test_hash[$test_key], $row['result'])!==0){
         $result .= $test_key . "<br>\n";



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to