aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-14 02:17:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-14 02:17:07 +0000
commitb7d4bec138f2a2478b58c7e8744767a3f48a3acb (patch)
treeac042667c7fe8aa3bdcb485ea7b9cfdd66ee3095 /tool
parent53a4b59cc652e656747832fcde77c867d9645162 (diff)
downloadruby-b7d4bec138f2a2478b58c7e8744767a3f48a3acb.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
Diffstat (limited to 'tool')
-rw-r--r--tool/colorize.rb2
-rwxr-xr-xtool/ifchange2
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"
;;