Index: compare.php
===================================================================
--- www/www.reactos.org/testman/compare.php (revision 982)
+++ www/www.reactos.org/testman/compare.php (working copy)
@@ -73,7 +73,12 @@
$table_separator .= "
| ";
foreach ($performance as $key => $val)
- $performance[$key] .= sprintf('%s %s | ', $testman_langres[$key], $row[$key], GetDifference($row, $prev_row, $key, true));
+ {
+ $extra_class = '';
+ if ($key == 'reboots' && $row[$key] > 2)
+ $extra_class = ' failed';
+ $performance[$key] .= sprintf('%s %s | ', $testman_langres[$key], $extra_class, $row[$key], GetDifference($row, $prev_row, $key, true));
+ }
// Get the test results for each column
$result_stmt[$i] = $reader->getListResultInfoStatement($i);
Index: css/compare.css
===================================================================
--- www/www.reactos.org/testman/css/compare.css (revision 982)
+++ www/www.reactos.org/testman/css/compare.css (working copy)
@@ -85,7 +85,7 @@
background-color: #33FF66 !important;
}
-.real_failedtests, .worse{
+.real_failedtests, .worse, .failed {
background-color: #FF6666 !important;
}