bootstraptest/runner.rb (show_limit): show dots only when printing to a tty
This commit is contained in:
parent
dbe834ab5a
commit
fe03bbaf34
@ -265,11 +265,10 @@ end
|
|||||||
|
|
||||||
def show_limit(testsrc, opt = '', **argh)
|
def show_limit(testsrc, opt = '', **argh)
|
||||||
result = get_result_string(testsrc, opt, **argh)
|
result = get_result_string(testsrc, opt, **argh)
|
||||||
$stderr.print '.'
|
|
||||||
$stderr.print @reset
|
|
||||||
$stderr.puts if @verbose
|
|
||||||
|
|
||||||
if @tty
|
if @tty
|
||||||
|
$stderr.print '.'
|
||||||
|
$stderr.print @reset
|
||||||
|
$stderr.puts if @verbose
|
||||||
$stderr.puts "#{erase}#{result}"
|
$stderr.puts "#{erase}#{result}"
|
||||||
else
|
else
|
||||||
@errbuf.push result
|
@errbuf.push result
|
||||||
|
Loading…
x
Reference in New Issue
Block a user