mirror of
https://github.com/reactos/web.git
synced 2024-11-23 11:49:47 +00:00
[TESTMAN]
- highlight excessive machine reboots as requested by Thomas ONLINE-641 svn path=/trunk/; revision=983
This commit is contained in:
parent
8b8df06f4a
commit
392e450866
@ -73,8 +73,11 @@
|
||||
$table_separator .= "<td> </td>";
|
||||
|
||||
foreach ($performance as $key => $val)
|
||||
$performance[$key] .= sprintf('<td><div title="%s" class="box performancetests">%s <span class="diff">%s</span></div></td>', $testman_langres[$key], $row[$key], GetDifference($row, $prev_row, $key, true));
|
||||
{
|
||||
$failed_reboots = ($key == 'reboots' && $row[$key] > MACHINE_REBOOTS_THRESHOLD) ? ' worse' : '';
|
||||
|
||||
$performance[$key] .= sprintf('<td><div title="%s" class="box performancetests%s">%s <span class="diff">%s</span></div></td>', $testman_langres[$key], $failed_reboots, $row[$key], GetDifference($row, $prev_row, $key, true));
|
||||
}
|
||||
// Get the test results for each column
|
||||
$result_stmt[$i] = $reader->getListResultInfoStatement($i);
|
||||
|
||||
|
@ -16,3 +16,4 @@
|
||||
define("DEFAULT_SEARCH_SOURCE", "Build GCCLin_x86 on Test KVM");
|
||||
define("MAX_COMPARE_RESULTS", 8);
|
||||
define("RESULTS_PER_PAGE", 10);
|
||||
define("MACHINE_REBOOTS_THRESHOLD", 2);
|
||||
|
Loading…
Reference in New Issue
Block a user