From b8ad4aaddb35716d26e369fc20681207a5a99b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Fri, 10 Oct 2025 16:29:02 +0100 Subject: [PATCH] Print timing inside overall test reporting `Test.DefaultTestSet` natively supports showing time tests took, we don't need to print it separately. --- src/ParallelTestRunner.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ParallelTestRunner.jl b/src/ParallelTestRunner.jl index f38c3a8..4e4aa3d 100644 --- a/src/ParallelTestRunner.jl +++ b/src/ParallelTestRunner.jl @@ -587,11 +587,11 @@ function runtests(ARGS; testfilter = Returns(true), RecordType = TestRecord, end end t1 = now() - elapsed = canonicalize(Dates.CompoundPeriod(t1 - t0)) - println("Testing finished in $elapsed") # 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) with_testset(o_ts) do completed_tests = Set{String}() for (testname, res) in results