Changes in directory nightlytest-serverside:

ProgramResults.php updated: 1.51 -> 1.52
---
Log message:

Isolating why #4

---
Diffs of the changes:  (+10 -3)

 ProgramResults.php |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)


Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.51 
nightlytest-serverside/ProgramResults.php:1.52
--- nightlytest-serverside/ProgramResults.php:1.51      Mon Sep 11 12:55:31 2006
+++ nightlytest-serverside/ProgramResults.php   Mon Sep 11 13:33:07 2006
@@ -422,8 +422,7 @@
 function getFailures($night_id) {
   $result="";
   if ($night_id >= 684) {
-//    $query = "SELECT * FROM tests WHERE night=$night_id AND result=\"FAIL\" 
ORDER BY program ASC";
-    $query = "SELECT * FROM tests WHERE night=$night_id ORDER BY program ASC";
+    $query = "SELECT * FROM tests WHERE night=$night_id AND result=\"FAIL\" 
ORDER BY program ASC";
     $program_query = mysql_query($query) or die (mysql_error());
     while($row = mysql_fetch_array($program_query)) {
       $program = rtrim($row['program'], ": ");
@@ -621,7 +620,15 @@
   $program_query = mysql_query($query) or die (mysql_error());
   while ($row = mysql_fetch_array($program_query)) {
     $program = rtrim($row['program'], ": ");
-    if (isset($test_hash[$program]) && isTestPass($row['result'])) {
+    $wasfailing = isset($test_hash[$program]);
+    $ispassing = isTestPass($row['result']);
+    
+    if (strcmp($program, 
"/Volumes/Muggles/LLVM/nightlytest/build/llvm/test/Regression/Transforms/TailDup/MergeTest.ll")
 == 0) {
+      $result = "MergeTest.ll " . $test_hash[$program] . " " . $row['result'] 
. " " . 
+                ($wasfailing ? "was failing " : " ") . ($ispassing ? "is 
passing\n" : "\n");
+    }
+    
+    if ($wasfailing && $ispassing) {
       $reasons = getFailReasons($test_hash[$program]);
       $result .= $program . $reasons . "\n";
     }



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

Reply via email to