blob: ee0c7c29320049ff3f1af800ce6a7c2ca0db9566 [file] [log] [blame]
david_williams1a993892007-07-29 19:19:05 +00001<?php
2$testResults = parse2_testResults("drops/$bValue/$innerValue/testResults.php");
3list ($junitFailures) = $testResults;
4
5$compileResults = parse2_compileResults("drops/$bValue/$innerValue/compileResults.php");
6list ($compileErrors, $compileAccessWarnings, $compileOtherWarnings) = $compileResults;
7$testCompileResults = parse2_compileResults("drops/$bValue/$innerValue/testCompileResults.php");
8list ($testCompileErrors, $testCompileAccessWarnings, $testCompileOtherWarnings) = $testCompileResults;
9
10$totalCommpileErrors = $compileErrors + $testCompileErrors;
11// we'll just use code for warnning summaries, for now
12$totalAccessWarnings = $compileAccessWarnings;
13$totalCompileOtherWarnings = $compileOtherWarnings;
14
15echo "<td width=\"6%\">&nbsp;</td>";
16echo "<td width=\"6%\"><img src=\"../compile_err.gif\" width=\"16\" height=\"16\"/><font color=red>$totalCommpileErrors</font></td>";
17echo "<td width=\"6%\"><img src=\"../compile_warn.gif\" width=\"16\" height=\"16\"/><font color=orange>$totalCompileOtherWarnings</font></td>";
18if ($junitFailures < 0) {
19echo "<td width=\"6%\"><img src=\"../pending.gif\" width=\"16\" height=\"16\"/><font color=red>&nbsp;</font></td>";
20}
21else {
22echo "<td width=\"6%\"><img src=\"../junit_err.gif\" width=\"16\" height=\"16\"/><font color=red>$junitFailures</font></td>";
23}
24
25?>