From 25aec0b8352428871b97de41f7da9abff1ab7d90 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 14 Oct 2017 02:17:07 +0000 Subject: 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 --- tool/colorize.rb | 2 +- tool/ifchange | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tool') 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" ;; -- cgit v1.2.3