Changes in directory nightlytest-serverside:

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

Isolating why #1

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

 ProgramResults.php |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)


Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.48 
nightlytest-serverside/ProgramResults.php:1.49
--- nightlytest-serverside/ProgramResults.php:1.48      Mon Sep 11 12:07:24 2006
+++ nightlytest-serverside/ProgramResults.php   Mon Sep 11 12:48:31 2006
@@ -396,7 +396,12 @@
   
   for ($i = 0; $i < count($phases); $i++) {
     $phase = $phases[$i];
-    if (strpos($phase, "*") !== false) {
+    if (strcmp($phase, "PASS") == 0 ||
+        strcmp($phase, "FAIL") == 0 ||
+        strcmp($phase, "XFAIL") == 0) {
+      $result = $phase;
+      break;
+    } else if (strpos($phase, "*") !== false) {
       list($tool, $tool_result) = split(": ", $phase);
       if (strcmp($result, "") != 0) {
         $result .= ", ";



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

Reply via email to