diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-01 10:16:47 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-01 10:16:47 +0900 |
commit | fe03bbaf3405b9e45bb3504fab5f4195ec6c3630 (patch) | |
tree | 592c8c696f3ac4d370dff878c614f543a2d7436c /bootstraptest | |
parent | dbe834ab5ac4f90df5db9fc314b45890726cca3b (diff) | |
download | bundler-fe03bbaf3405b9e45bb3504fab5f4195ec6c3630.tar.gz |
bootstraptest/runner.rb (show_limit): show dots only when printing to a tty
Diffstat (limited to 'bootstraptest')
-rwxr-xr-x | bootstraptest/runner.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 8fce3d4b99..7786faa21c 100755 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -265,11 +265,10 @@ end def show_limit(testsrc, opt = '', **argh) result = get_result_string(testsrc, opt, **argh) - $stderr.print '.' - $stderr.print @reset - $stderr.puts if @verbose - if @tty + $stderr.print '.' + $stderr.print @reset + $stderr.puts if @verbose $stderr.puts "#{erase}#{result}" else @errbuf.push result |