david_williams | 1a99389 | 2007-07-29 19:19:05 +0000 | [diff] [blame] | 1 | <?php |
david_williams | fd220c8 | 2008-01-07 07:59:37 +0000 | [diff] [blame] | 2 | $testResults = parse2_testResults("$innerValue/testResults.php"); |
david_williams | 1a99389 | 2007-07-29 19:19:05 +0000 | [diff] [blame] | 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>"; |
david_williams | 87c8654 | 2008-01-14 05:59:55 +0000 | [diff] [blame] | 16 | echo "<td width=\"6%\"><img src=\"../commonPages/compile_err.gif\" width=\"16\" height=\"16\"/><font color=red>$totalCommpileErrors</font></td>"; |
| 17 | echo "<td width=\"6%\"><img src=\"../commonPages/compile_warn.gif\" width=\"16\" height=\"16\"/><font color=orange>$totalCompileOtherWarnings</font></td>"; |
david_williams | 1a99389 | 2007-07-29 19:19:05 +0000 | [diff] [blame] | 18 | if ($junitFailures < 0) { |
david_williams | 87c8654 | 2008-01-14 05:59:55 +0000 | [diff] [blame] | 19 | echo "<td width=\"6%\"><img src=\"../commonPages/pending.gif\" width=\"16\" height=\"16\"/><font color=red> </font></td>"; |
david_williams | 1a99389 | 2007-07-29 19:19:05 +0000 | [diff] [blame] | 20 | } |
| 21 | else { |
david_williams | 87c8654 | 2008-01-14 05:59:55 +0000 | [diff] [blame] | 22 | echo "<td width=\"6%\"><img src=\"../commonPages/junit_err.gif\" width=\"16\" height=\"16\"/><font color=red>$junitFailures</font></td>"; |
david_williams | 1a99389 | 2007-07-29 19:19:05 +0000 | [diff] [blame] | 23 | } |
| 24 | |
| 25 | ?> |