[llvm-commits] CVS: nightlytest-serverside/ProgramResults.php
Jim Laskey
jlaskey at apple.com
Mon Sep 11 11:51:12 PDT 2006
Changes in directory nightlytest-serverside:
ProgramResults.php updated: 1.53 -> 1.54
---
Log message:
Isolating why #6
---
Diffs of the changes: (+1 -9)
ProgramResults.php | 10 +---------
1 files changed, 1 insertion(+), 9 deletions(-)
Index: nightlytest-serverside/ProgramResults.php
diff -u nightlytest-serverside/ProgramResults.php:1.53 nightlytest-serverside/ProgramResults.php:1.54
--- nightlytest-serverside/ProgramResults.php:1.53 Mon Sep 11 13:47:29 2006
+++ nightlytest-serverside/ProgramResults.php Mon Sep 11 13:50:58 2006
@@ -584,9 +584,7 @@
* an asterix appears by each tool that has failed.
*/
function isTestPass($test_result) {
- return strcmp($test_result, "PASS") == 0 ||
- strcmp($test_result, "XFAIL") == 0 ||
- strpos($test_result, "*") === false;
+ return !(strcmp($test_result, "FAIL") == 0 || strpos($test_result, "*") !== false);
}
/*
@@ -622,12 +620,6 @@
$program = rtrim($row['program'], ": ");
$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 " : "was passing") . ($ispassing ? "is passing\n" : "is failing\n");
- }
-
if ($wasfailing && $ispassing) {
$reasons = getFailReasons($test_hash[$program]);
$result .= $program . $reasons . "\n";
More information about the llvm-commits
mailing list