distinguish pass and fail by highlight [ci skip]
* tool/colorize.rb: remove highlight attribute from "pass" to make distinguishable from "fail" by other than red-green colors. * tool/ifchange: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fa30274742
commit
25aec0b835
@ -14,7 +14,7 @@ class Colorize
|
|||||||
end
|
end
|
||||||
|
|
||||||
DEFAULTS = {
|
DEFAULTS = {
|
||||||
"pass"=>"32;1", "fail"=>"31;1", "skip"=>"33;1",
|
"pass"=>"32", "fail"=>"31;1", "skip"=>"33;1",
|
||||||
"black"=>"30", "red"=>"31", "green"=>"32", "yellow"=>"33",
|
"black"=>"30", "red"=>"31", "green"=>"32", "yellow"=>"33",
|
||||||
"blue"=>"34", "magenta"=>"35", "cyan"=>"36", "white"=>"37",
|
"blue"=>"34", "magenta"=>"35", "cyan"=>"36", "white"=>"37",
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ if [ "$color" = always -o \( "$color" = auto -a -t 1 \) ]; then
|
|||||||
msg_unchanged=`expr ":$TEST_COLORS:" : ".*:pass=\([^:]*\):"` || :
|
msg_unchanged=`expr ":$TEST_COLORS:" : ".*:pass=\([^:]*\):"` || :
|
||||||
msg_updated=`expr ":$TEST_COLORS:" : ".*:fail=\([^:]*\):"` || :
|
msg_updated=`expr ":$TEST_COLORS:" : ".*:fail=\([^:]*\):"` || :
|
||||||
fi
|
fi
|
||||||
msg_unchanged="${msg_begin}${msg_unchanged:-32;1}m"
|
msg_unchanged="${msg_begin}${msg_unchanged:-32}m"
|
||||||
msg_updated="${msg_begin}${msg_updated:-31;1}m"
|
msg_updated="${msg_begin}${msg_updated:-31;1}m"
|
||||||
msg_reset="${msg_begin}m"
|
msg_reset="${msg_begin}m"
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user