Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/ParallelTestRunner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ dictionary mapping test names to expression that include each test file.
"""
function find_tests(dir::String)
tests = Dict{String, Expr}()
for (rootpath, dirs, files) in walkdir(dir)
for (rootpath, _dirs, files) in walkdir(dir)
# find Julia files
filter!(files) do file
endswith(file, ".jl") && file !== "runtests.jl"
Expand Down Expand Up @@ -837,7 +837,7 @@ function runtests(mod::Module, args::ParsedArgs;

function clear_status()
if status_lines_visible[] > 0
for i in 1:status_lines_visible[]-1
for _ in 1:(status_lines_visible[]-1)
print(io_ctx.stdout, "\033[2K") # Clear entire line
print(io_ctx.stdout, "\033[1A") # Move up one line
end
Expand Down Expand Up @@ -1109,7 +1109,7 @@ function runtests(mod::Module, args::ParsedArgs;
@async rmprocs(; waitfor=0)

# print the output generated by each testset
for (testname, result, output, start, stop) in results
for (testname, result, output, _start, _stop) in results
if !isempty(output)
print(io_ctx.stdout, "\nOutput generated during execution of '")
if result isa Exception || anynonpass(result.value)
Expand Down Expand Up @@ -1167,7 +1167,7 @@ function runtests(mod::Module, args::ParsedArgs;
function collect_results()
with_testset(o_ts) do
completed_tests = Set{String}()
for (testname, result, output, start, stop) in results
for (testname, result, _output, start, stop) in results
push!(completed_tests, testname)

if result isa AbstractTestRecord
Expand Down