From f4347a1a7e2a7361d509a31afecff0b3327992be Mon Sep 17 00:00:00 2001 From: Chris Rackauckas Date: Mon, 15 Jun 2026 09:47:37 +0000 Subject: [PATCH] Split NoPre test group: AD content -> AD group, JET -> qa group (rebased on current main) --- test/{NoPre => AD}/Project.toml | 0 test/{NoPre => AD}/caching_allocation_tests.jl | 0 test/{NoPre => AD}/enzyme.jl | 0 test/{NoPre => AD}/mooncake.jl | 0 test/{NoPre => AD}/static_arrays.jl | 0 test/qa/Project.toml | 2 ++ test/{NoPre => qa}/jet.jl | 0 test/runtests.jl | 14 +++++++------- test/test_groups.toml | 2 +- 9 files changed, 10 insertions(+), 8 deletions(-) rename test/{NoPre => AD}/Project.toml (100%) rename test/{NoPre => AD}/caching_allocation_tests.jl (100%) rename test/{NoPre => AD}/enzyme.jl (100%) rename test/{NoPre => AD}/mooncake.jl (100%) rename test/{NoPre => AD}/static_arrays.jl (100%) rename test/{NoPre => qa}/jet.jl (100%) diff --git a/test/NoPre/Project.toml b/test/AD/Project.toml similarity index 100% rename from test/NoPre/Project.toml rename to test/AD/Project.toml diff --git a/test/NoPre/caching_allocation_tests.jl b/test/AD/caching_allocation_tests.jl similarity index 100% rename from test/NoPre/caching_allocation_tests.jl rename to test/AD/caching_allocation_tests.jl diff --git a/test/NoPre/enzyme.jl b/test/AD/enzyme.jl similarity index 100% rename from test/NoPre/enzyme.jl rename to test/AD/enzyme.jl diff --git a/test/NoPre/mooncake.jl b/test/AD/mooncake.jl similarity index 100% rename from test/NoPre/mooncake.jl rename to test/AD/mooncake.jl diff --git a/test/NoPre/static_arrays.jl b/test/AD/static_arrays.jl similarity index 100% rename from test/NoPre/static_arrays.jl rename to test/AD/static_arrays.jl diff --git a/test/qa/Project.toml b/test/qa/Project.toml index 79eaac554..867313927 100644 --- a/test/qa/Project.toml +++ b/test/qa/Project.toml @@ -1,6 +1,7 @@ [deps] Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283" @@ -12,6 +13,7 @@ LinearSolve = {path = "../.."} [compat] Aqua = "0.8" ExplicitImports = "1.10" +JET = "0.9, 0.11" LinearSolve = "3" SafeTestsets = "0.1, 1" SciMLTesting = "1" diff --git a/test/NoPre/jet.jl b/test/qa/jet.jl similarity index 100% rename from test/NoPre/jet.jl rename to test/qa/jet.jl diff --git a/test/runtests.jl b/test/runtests.jl index 09484917b..0d560814e 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -106,16 +106,15 @@ else # Don't run Enzyme tests on prerelease or Julia >= 1.12 (Enzyme # compatibility issues). See: # https://github.com/SciML/LinearSolve.jl/issues/817 - "NoPre" => function () + "AD" => function () if isempty(VERSION.prerelease) - activate_group_env(joinpath(@__DIR__, "NoPre")) - @time @safetestset "Mooncake Derivative Rules" include("NoPre/mooncake.jl") - @time @safetestset "JET Tests" include("NoPre/jet.jl") - @time @safetestset "Static Arrays" include("NoPre/static_arrays.jl") - @time @safetestset "Caching Allocation Tests" include("NoPre/caching_allocation_tests.jl") + activate_group_env(joinpath(@__DIR__, "AD")) + @time @safetestset "Mooncake Derivative Rules" include("AD/mooncake.jl") + @time @safetestset "Static Arrays" include("AD/static_arrays.jl") + @time @safetestset "Caching Allocation Tests" include("AD/caching_allocation_tests.jl") # Disable Enzyme tests on Julia >= 1.12 due to compatibility issues if VERSION < v"1.12.0-" - @time @safetestset "Enzyme Derivative Rules" include("NoPre/enzyme.jl") + @time @safetestset "Enzyme Derivative Rules" include("AD/enzyme.jl") end end return nothing @@ -209,6 +208,7 @@ else if isempty(VERSION.prerelease) activate_group_env(joinpath(@__DIR__, "qa")) @time @safetestset "Quality Assurance" include("qa/qa.jl") + @time @safetestset "JET Tests" include("qa/jet.jl") end return nothing end, diff --git a/test/test_groups.toml b/test/test_groups.toml index 058d9b955..d7c826246 100644 --- a/test/test_groups.toml +++ b/test/test_groups.toml @@ -43,7 +43,7 @@ versions = ["lts", "1"] runner = "self-hosted" num_threads = 2 -[NoPre] +[AD] versions = ["lts", "1"] runner = "self-hosted" num_threads = 2