From 439da99bdf5b92d4fd82e4b6cf7e929aae7a21b4 Mon Sep 17 00:00:00 2001 From: ChrisRackauckas Date: Sun, 23 Aug 2026 16:55:57 +0000 Subject: [PATCH] test: actually run the precompile workload testset PR #160 appended the "Precompile workload" `@safetestset` after the `return @time @safetestset "Transform Interface"` statement in `core_tests`, so it was unreachable: the regression test for the new `@compile_workload` never ran in any test group. Move the `return` to the last testset so both run. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01Rmh6B9eoW3N8oCbuuVPVxJ --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 14a0542..81df6de 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -26,10 +26,10 @@ withenv( @time @safetestset "SpectralKernel" begin include(joinpath(@__DIR__, "layers", "spectral_kernel_tests.jl")) end - return @time @safetestset "Transform Interface" begin + @time @safetestset "Transform Interface" begin include(joinpath(@__DIR__, "layers", "transform_interface_tests.jl")) end - @time @safetestset "Precompile workload" begin + return @time @safetestset "Precompile workload" begin include(joinpath(@__DIR__, "precompile_workload.jl")) end end