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

Jim Laskey jlaskey at apple.com
Mon Sep 11 10:51:49 PDT 2006



Changes in directory nightlytest-serverside:

ProgramResults.php updated: 1.49 -> 1.50
---
Log message:

Isolating why #2

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

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


Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.49 nightlytest-serverside/ProgramResults.php:1.50
--- nightlytest-serverside/ProgramResults.php:1.49	Mon Sep 11 12:48:31 2006
+++ nightlytest-serverside/ProgramResults.php	Mon Sep 11 12:51:35 2006
@@ -396,12 +396,7 @@
   
   for ($i = 0; $i < count($phases); $i++) {
     $phase = $phases[$i];
-    if (strcmp($phase, "PASS") == 0 ||
-        strcmp($phase, "FAIL") == 0 ||
-        strcmp($phase, "XFAIL") == 0) {
-      $result = $phase;
-      break;
-    } else if (strpos($phase, "*") !== false) {
+    if (strpos($phase, "*") !== false) {
       list($tool, $tool_result) = split(": ", $phase);
       if (strcmp($result, "") != 0) {
         $result .= ", ";
@@ -431,7 +426,7 @@
     $program_query = mysql_query($query) or die (mysql_error());
     while($row = mysql_fetch_array($program_query)) {
       $program = rtrim($row['program'], ": ");
-      $result .= $program . "\n";
+      $result .= $program . "[" . $row['result'] . "]" . "\n";
     }
     mysql_free_result($program_query);
 






More information about the llvm-commits mailing list