Changes in directory nightlytest-serverside:
ProgramResults.php updated: 1.29 -> 1.30 --- Log message: Break down results into finer detail. --- Diffs of the changes: (+17 -2) ProgramResults.php | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) Index: nightlytest-serverside/ProgramResults.php diff -u nightlytest-serverside/ProgramResults.php:1.29 nightlytest-serverside/ProgramResults.php:1.30 --- nightlytest-serverside/ProgramResults.php:1.29 Thu Aug 31 13:11:33 2006 +++ nightlytest-serverside/ProgramResults.php Thu Aug 31 13:42:11 2006 @@ -406,8 +406,23 @@ $query = "SELECT * FROM program WHERE night=$night_id ORDER BY program ASC"; $program_query = mysql_query($query) or die (mysql_error()); while($row = mysql_fetch_array($program_query)) { - if (!isTestPass($row['result'])) { - $result .= "{$row['program']} [{$row['result']}]<br>\n"; + $test_result = $row['result']; + if (!isTestPass($test_result)) { + $failing_tools = ""; + $phases = split(", ", $test_result); + + for ($i = 0; $i < count($phases); $i++) { + $phase = $phases[$i]; + if (!isTestPass($phase)) { + list($tool, $tool_result) = split(": ", $phase); + if (strcmp($failing_tools, "") == 0) { + $failing_tools .= ", "; + } + $failing_tools .= $tool; + } + } + + $result .= "{$row['program']} [{$failing_tools}]<br>\n"; } } mysql_free_result($program_query); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits