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
14 changes: 8 additions & 6 deletions src/ParallelTestRunner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,9 @@ function runtests(ARGS; testfilter = Returns(true), RecordType = TestRecord,
end
end

# construct a testset to render the test results
o_ts = Test.DefaultTestSet("Overall")
# run tasks
t0 = now()
results = []
all_tasks = Task[]
try
Expand Down Expand Up @@ -586,12 +587,13 @@ function runtests(ARGS; testfilter = Returns(true), RecordType = TestRecord,
schedule(stdin_monitor, InterruptException(); error = true)
end
end
t1 = now()
t1 = time()

# construct a testset to render the test results
o_ts = Test.DefaultTestSet("Overall")
o_ts.time_start = Dates.datetime2unix(t0)
o_ts.time_end = Dates.datetime2unix(t1)
if VERSION < v"1.13.0-DEV.1037"
o_ts.time_end = t1
else
@atomic o_ts.time_end = t1
end
with_testset(o_ts) do
completed_tests = Set{String}()
for (testname, res) in results
Expand Down
Loading