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

Jim Laskey jlaskey at apple.com
Thu Aug 31 09:35:21 PDT 2006



Changes in directory nightlytest-serverside:

ProgramResults.php updated: 1.25 -> 1.26
---
Log message:

Syntax errors.


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

 ProgramResults.php |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.25 nightlytest-serverside/ProgramResults.php:1.26
--- nightlytest-serverside/ProgramResults.php:1.25	Thu Aug 31 11:33:37 2006
+++ nightlytest-serverside/ProgramResults.php	Thu Aug 31 11:35:07 2006
@@ -547,7 +547,7 @@
   $query = "SELECT * FROM $table WHERE night=$id";
   $program_query = mysql_query($query) or die (mysql_error());
   while ($row = mysql_fetch_array($program_query)) {
-    if (!isTestPass($row['result']) {
+    if (!isTestPass($row['result'])) {
       $test_hash[$row['program']]=1;
     }
   }
@@ -567,7 +567,7 @@
   $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]) && isTestPass($row['result']) {
+    if (isset($test_hash[$test_key]) && isTestPass($row['result'])) {
       $result .= $test_key . "<br>\n";
     }
   }
@@ -623,8 +623,7 @@
     $result = $row['newly_failing_tests'];
     $result = preg_replace("/\n/","<br>\n", $result);
     mysql_free_result($program_query);
-  }
-  else{
+  } else {
     $test_hash = getTestFailSet($cur_id, "tests");
     $result .= getPassingTests($prev_id, "tests", $test_hash);
   






More information about the llvm-commits mailing list