ruby-changes:56316
From: Nobuyoshi <ko1@a...>
Date: Mon, 1 Jul 2019 17:09:29 +0900 (JST)
Subject: [ruby-changes:56316] Nobuyoshi Nakada: 7f4f40ab31 (master): bootstraptest/runner.rb (show_limit): defer messages unless verbose and a tty
https://git.ruby-lang.org/ruby.git/commit/?id=7f4f40ab31 From 7f4f40ab31f79e0ab0196b9c11b942d475ff1fcd Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 1 Jul 2019 17:09:08 +0900 Subject: bootstraptest/runner.rb (show_limit): defer messages unless verbose and a tty diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 7786faa..3a3c8c0 100755 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -265,11 +265,8 @@ end https://github.com/ruby/ruby/blob/trunk/bootstraptest/runner.rb#L265 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/