From 77887d30d82b416230e5a19df7ef417c5c7af4b7 Mon Sep 17 00:00:00 2001 From: msv Date: Fri, 13 May 2016 16:46:47 +0300 Subject: [PATCH] 0027492: Change error messages highlighting to make them readable in HTML report --- src/DrawResources/TestCommands.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DrawResources/TestCommands.tcl b/src/DrawResources/TestCommands.tcl index c9ca2055e1..bb3a819bf4 100644 --- a/src/DrawResources/TestCommands.tcl +++ b/src/DrawResources/TestCommands.tcl @@ -1428,7 +1428,7 @@ proc _html_color {status} { if { $status == "OK" } { return lightgreen } elseif { [regexp -nocase {^FAIL} $status] } { - return red + return ff8080 } elseif { [regexp -nocase {^BAD} $status] } { return yellow } elseif { [regexp -nocase {^IMP} $status] } { @@ -1976,7 +1976,7 @@ proc _log_html_diff {file log dir1 dir2 highlight_percent} { # put a line; highlight considerable (> ${highlight_percent}%) deviations of CPU and memory if { [regexp "\[\\\[](\[0-9.e+-]+)%\[\]]" $line res value] && [expr abs($value)] > ${highlight_percent} } { - puts $fd "
0 ? \"red\" : \"lightgreen\"]\">$line
" + puts $fd "
0 ? \"ff8080\" : \"lightgreen\"]\">$line
" } else { puts $fd $line }