diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-14 02:17:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-14 02:17:07 +0000 |
commit | 25aec0b8352428871b97de41f7da9abff1ab7d90 (patch) | |
tree | ac042667c7fe8aa3bdcb485ea7b9cfdd66ee3095 | |
parent | fa302747428087961b55be91c9a7f00149654f49 (diff) | |
download | ruby-25aec0b8352428871b97de41f7da9abff1ab7d90.tar.gz |
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
-rw-r--r-- | tool/colorize.rb | 2 | ||||
-rwxr-xr-x | tool/ifchange | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tool/colorize.rb b/tool/colorize.rb index b840238e52..1cbbeef543 100644 --- a/tool/colorize.rb +++ b/tool/colorize.rb @@ -14,7 +14,7 @@ class Colorize end 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", "blue"=>"34", "magenta"=>"35", "cyan"=>"36", "white"=>"37", } diff --git a/tool/ifchange b/tool/ifchange index 8571cf8049..396a7a0bcf 100755 --- a/tool/ifchange +++ b/tool/ifchange @@ -55,7 +55,7 @@ if [ "$color" = always -o \( "$color" = auto -a -t 1 \) ]; then msg_unchanged=`expr ":$TEST_COLORS:" : ".*:pass=\([^:]*\):"` || : msg_updated=`expr ":$TEST_COLORS:" : ".*:fail=\([^:]*\):"` || : 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_reset="${msg_begin}m" ;; |