Skip to content

Commit 5e6ec5f

Browse files
committed
Only draw on a TTY.
1 parent 407977e commit 5e6ec5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ParallelTestRunner.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,10 @@ function runtests(ARGS; testfilter = Returns(true), RecordType = TestRecord,
544544
end
545545
end
546546
function update_status()
547+
# only draw the status bar on actual terminals
548+
stdout isa Base.TTY || return
549+
550+
# only draw if we have something to show
547551
isempty(running_tests) && return
548552
completed = length(results)
549553
total = completed + length(tests) + length(running_tests)

0 commit comments

Comments
 (0)