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

Jim Laskey jlaskey at apple.com
Sat Sep 16 17:47:54 PDT 2006



Changes in directory nightlytest-serverside:

ProgramResults.php updated: 1.63 -> 1.64
---
Log message:

Debugging #7

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

 ProgramResults.php |   19 +++----------------
 1 files changed, 3 insertions(+), 16 deletions(-)


Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.63 nightlytest-serverside/ProgramResults.php:1.64
--- nightlytest-serverside/ProgramResults.php:1.63	Sat Sep 16 19:40:29 2006
+++ nightlytest-serverside/ProgramResults.php	Sat Sep 16 19:47:40 2006
@@ -420,23 +420,10 @@
   if (isset($tail)) {
     $program = "test/" . $tail;
   }
-  return rtrim($program, ": ");;
-}
-
- 
-/*
- * Merge program name and measure
- */
-function MergeNameAndMeasureFromRow($row) {
-  $program = trimTestPath($row['program']);
-  $measure = $row['measure'];
-  if (!StringEqual($measure, "dejagnu")) {
-    $program .= " [$measure]";
-  }
   return $program;
 }
-
-
+ 
+ 
 /*
  * Get failing tests
  *
@@ -608,7 +595,7 @@
  * an asterix appears by each tool that has failed.
  */
 function isTestPass($test_result) {
-  return !(StringEqual($test_result, "FAIL") || strpos($test_result, "*") !== false);
+  return !(strcmp($test_result, "FAIL") == 0 || strpos($test_result, "*") !== false);
 }
 
 /*






More information about the llvm-commits mailing list