david_williams | 1a99389 | 2007-07-29 19:19:05 +0000 | [diff] [blame] | 1 | <?php |
| 2 | $testResults = parse2_testResults("drops/$bValue/$innerValue/testResults.php"); |
| 3 | list ($junitFailures) = $testResults; |
| 4 | |
| 5 | $compileResults = parse2_compileResults("drops/$bValue/$innerValue/compileResults.php"); |
| 6 | list ($compileErrors, $compileAccessWarnings, $compileOtherWarnings) = $compileResults; |
| 7 | $testCompileResults = parse2_compileResults("drops/$bValue/$innerValue/testCompileResults.php"); |
| 8 | list ($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 | |
| 15 | echo "<td width=\"6%\"> </td>"; |
| 16 | echo "<td width=\"6%\"><img src=\"../compile_err.gif\" width=\"16\" height=\"16\"/><font color=red>$totalCommpileErrors</font></td>"; |
| 17 | echo "<td width=\"6%\"><img src=\"../compile_warn.gif\" width=\"16\" height=\"16\"/><font color=orange>$totalCompileOtherWarnings</font></td>"; |
| 18 | if ($junitFailures < 0) { |
| 19 | echo "<td width=\"6%\"><img src=\"../pending.gif\" width=\"16\" height=\"16\"/><font color=red> </font></td>"; |
| 20 | } |
| 21 | else { |
| 22 | echo "<td width=\"6%\"><img src=\"../junit_err.gif\" width=\"16\" height=\"16\"/><font color=red>$junitFailures</font></td>"; |
| 23 | } |
| 24 | |
| 25 | ?> |