summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-01 17:09:08 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-01 17:09:08 +0900
commit7f4f40ab31f79e0ab0196b9c11b942d475ff1fcd (patch)
tree86e9a4608d0a87dbd9be5373fe35d67c17829a01 /bootstraptest
parent70dcf5b368bfeee9bc054895fc046bf69d32aa91 (diff)
bootstraptest/runner.rb (show_limit): defer messages unless verbose and a tty
Diffstat (limited to 'bootstraptest')
-rwxr-xr-xbootstraptest/runner.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 7786faa21c..3a3c8c0938 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -265,11 +265,8 @@ end
def show_limit(testsrc, opt = '', **argh)
result = get_result_string(testsrc, opt, **argh)
- if @tty
- $stderr.print '.'
- $stderr.print @reset
- $stderr.puts if @verbose
- $stderr.puts "#{erase}#{result}"
+ if @tty and @verbose
+ $stderr.puts ".{#@reset}\n#{erase}#{result}"
else
@errbuf.push result
end