From 7f4f40ab31f79e0ab0196b9c11b942d475ff1fcd Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 1 Jul 2019 17:09:08 +0900 Subject: bootstraptest/runner.rb (show_limit): defer messages unless verbose and a tty --- bootstraptest/runner.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'bootstraptest') 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 -- cgit v1.2.3