diff --git a/lib/ImplicitDiscreteSolve/Project.toml b/lib/ImplicitDiscreteSolve/Project.toml index 61e741a6c2..7d92ca692c 100644 --- a/lib/ImplicitDiscreteSolve/Project.toml +++ b/lib/ImplicitDiscreteSolve/Project.toml @@ -23,10 +23,14 @@ SymbolicIndexingInterface = "0.3.38" Test = "1.10.0" UnPack = "1.0.2" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] OrdinaryDiffEqSDIRK = "2d112036-d095-4a1e-ab9a-08536f3ecdbf" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["OrdinaryDiffEqSDIRK", "Test"] +test = ["OrdinaryDiffEqSDIRK", "Test", "JET", "Aqua"] diff --git a/lib/ImplicitDiscreteSolve/test/qa.jl b/lib/ImplicitDiscreteSolve/test/qa.jl new file mode 100644 index 0000000000..1fdb625a45 --- /dev/null +++ b/lib/ImplicitDiscreteSolve/test/qa.jl @@ -0,0 +1,10 @@ +using ImplicitDiscreteSolve +using Aqua + + +@testset "Aqua" begin + Aqua.test_all( + ImplicitDiscreteSolve; + piracies = false + ) +end \ No newline at end of file diff --git a/lib/ImplicitDiscreteSolve/test/runtests.jl b/lib/ImplicitDiscreteSolve/test/runtests.jl index ba7e6a9bc9..ec5e5b8256 100644 --- a/lib/ImplicitDiscreteSolve/test/runtests.jl +++ b/lib/ImplicitDiscreteSolve/test/runtests.jl @@ -4,6 +4,7 @@ using ImplicitDiscreteSolve using OrdinaryDiffEqCore using OrdinaryDiffEqSDIRK using SciMLBase +using JET # Test implicit Euler using ImplicitDiscreteProblem @testset "Implicit Euler" begin @@ -119,3 +120,11 @@ end sol = solve(idprob, IDSolve()) @test length(sol.u) == 1 end + + +@testset "JET Tests" begin + test_package( + ImplicitDiscreteSolve, target_defined_modules = true, mode = :typo) +end + +include("qa.jl") diff --git a/lib/OrdinaryDiffEqAdamsBashforthMoulton/Project.toml b/lib/OrdinaryDiffEqAdamsBashforthMoulton/Project.toml index 6ada6d599b..93d955f1b0 100644 --- a/lib/OrdinaryDiffEqAdamsBashforthMoulton/Project.toml +++ b/lib/OrdinaryDiffEqAdamsBashforthMoulton/Project.toml @@ -30,6 +30,8 @@ SafeTestsets = "0.1.0" Static = "1.1.1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e" @@ -38,6 +40,8 @@ ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "ODEProblemLibrary", "Random", "SafeTestsets", "Test", "DiffEqBase"] +test = ["DiffEqDevTools", "ODEProblemLibrary", "Random", "SafeTestsets", "Test", "DiffEqBase", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqAdamsBashforthMoulton/test/jet.jl b/lib/OrdinaryDiffEqAdamsBashforthMoulton/test/jet.jl new file mode 100644 index 0000000000..1651d850e4 --- /dev/null +++ b/lib/OrdinaryDiffEqAdamsBashforthMoulton/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqAdamsBashforthMoulton +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqAdamsBashforthMoulton, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqAdamsBashforthMoulton/test/qa.jl b/lib/OrdinaryDiffEqAdamsBashforthMoulton/test/qa.jl new file mode 100644 index 0000000000..a5a50e90e8 --- /dev/null +++ b/lib/OrdinaryDiffEqAdamsBashforthMoulton/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqAdamsBashforthMoulton +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqAdamsBashforthMoulton + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqAdamsBashforthMoulton/test/runtests.jl b/lib/OrdinaryDiffEqAdamsBashforthMoulton/test/runtests.jl index fd3e5ee9a4..45c90bac04 100644 --- a/lib/OrdinaryDiffEqAdamsBashforthMoulton/test/runtests.jl +++ b/lib/OrdinaryDiffEqAdamsBashforthMoulton/test/runtests.jl @@ -3,3 +3,5 @@ using SafeTestsets @time @safetestset "ABM Convergence Tests" include("abm_convergence_tests.jl") @time @safetestset "Adams Variable Coefficients Tests" include("adams_tests.jl") @time @safetestset "Regression test for threading versions vs non threading versions" include("regression_test_threading.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") diff --git a/lib/OrdinaryDiffEqBDF/Project.toml b/lib/OrdinaryDiffEqBDF/Project.toml index febc110aeb..e3f8f261b5 100644 --- a/lib/OrdinaryDiffEqBDF/Project.toml +++ b/lib/OrdinaryDiffEqBDF/Project.toml @@ -27,9 +27,11 @@ ADTypes = "1.11" ArrayInterface = "7.15.0" DiffEqBase = "6.152.2" DiffEqDevTools = "2.44.4" +Enzyme = "0.13" FastBroadcast = "0.3.5" ForwardDiff = "0.10.36" LinearAlgebra = "<0.0.1, 1" +LinearSolve = "2.32, 3" MacroTools = "0.5.13" MuladdMacro = "0.2.4" ODEProblemLibrary = "0.1.8" @@ -47,6 +49,8 @@ StaticArrays = "1.9.7" Test = "<0.0.1, 1" TruncatedStacktraces = "1.4.0" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -58,6 +62,8 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "ForwardDiff", "Random", "SafeTestsets", "Test", "ODEProblemLibrary", "StaticArrays", "Enzyme", "LinearSolve"] +test = ["DiffEqDevTools", "ForwardDiff", "Random", "SafeTestsets", "Test", "ODEProblemLibrary", "StaticArrays", "Enzyme", "LinearSolve", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqBDF/test/jet.jl b/lib/OrdinaryDiffEqBDF/test/jet.jl new file mode 100644 index 0000000000..5df84b43aa --- /dev/null +++ b/lib/OrdinaryDiffEqBDF/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqBDF +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqBDF, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqBDF/test/qa.jl b/lib/OrdinaryDiffEqBDF/test/qa.jl new file mode 100644 index 0000000000..07a14b9280 --- /dev/null +++ b/lib/OrdinaryDiffEqBDF/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqBDF +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqBDF; + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqBDF/test/runtests.jl b/lib/OrdinaryDiffEqBDF/test/runtests.jl index c4a7cd8ee5..b46cdb91e9 100644 --- a/lib/OrdinaryDiffEqBDF/test/runtests.jl +++ b/lib/OrdinaryDiffEqBDF/test/runtests.jl @@ -7,3 +7,6 @@ using SafeTestsets @time @safetestset "BDF Convergence Tests" include("bdf_convergence_tests.jl") @time @safetestset "BDF Regression Tests" include("bdf_regression_tests.jl") + +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqCore/Project.toml b/lib/OrdinaryDiffEqCore/Project.toml index 82bb775005..89c33ca283 100644 --- a/lib/OrdinaryDiffEqCore/Project.toml +++ b/lib/OrdinaryDiffEqCore/Project.toml @@ -53,6 +53,7 @@ DiffEqBase = "6.169.1" DiffEqDevTools = "2.44.4" DocStringExtensions = "0.9" EnumX = "1" +EnzymeCore = "0.7, 0.8" FastBroadcast = "0.2, 0.3" FastClosures = "0.3" FastPower = "1" @@ -81,12 +82,16 @@ SymbolicIndexingInterface = "0.3.31" Test = "<0.0.1, 1" TruncatedStacktraces = "1.2" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqCore/test/jet.jl b/lib/OrdinaryDiffEqCore/test/jet.jl new file mode 100644 index 0000000000..3f9ba1599e --- /dev/null +++ b/lib/OrdinaryDiffEqCore/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqCore +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqCore, target_defined_modules = true, mode = :typo, broken = true) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqCore/test/qa.jl b/lib/OrdinaryDiffEqCore/test/qa.jl new file mode 100644 index 0000000000..b0a0e203c5 --- /dev/null +++ b/lib/OrdinaryDiffEqCore/test/qa.jl @@ -0,0 +1,10 @@ +using OrdinaryDiffEqCore +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqCore; + piracies = false, + unbound_args = false + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqCore/test/runtests.jl b/lib/OrdinaryDiffEqCore/test/runtests.jl index 8b13789179..f971e6442f 100644 --- a/lib/OrdinaryDiffEqCore/test/runtests.jl +++ b/lib/OrdinaryDiffEqCore/test/runtests.jl @@ -1 +1,4 @@ +using SafeTestsets +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqDefault/Project.toml b/lib/OrdinaryDiffEqDefault/Project.toml index 95f1a2aed3..9a272250fd 100644 --- a/lib/OrdinaryDiffEqDefault/Project.toml +++ b/lib/OrdinaryDiffEqDefault/Project.toml @@ -38,6 +38,9 @@ SafeTestsets = "0.1.0" StaticArrays = "1.0" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" +SparseArrays = "1" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -46,6 +49,8 @@ SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "SparseArrays", "StaticArrays", "Test"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "SparseArrays", "StaticArrays", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqDefault/test/jet.jl b/lib/OrdinaryDiffEqDefault/test/jet.jl new file mode 100644 index 0000000000..125e4f6d0a --- /dev/null +++ b/lib/OrdinaryDiffEqDefault/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqDefault +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqDefault, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqDefault/test/qa.jl b/lib/OrdinaryDiffEqDefault/test/qa.jl new file mode 100644 index 0000000000..be1f38ebf4 --- /dev/null +++ b/lib/OrdinaryDiffEqDefault/test/qa.jl @@ -0,0 +1,9 @@ +using OrdinaryDiffEqDefault +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqDefault; + piracies = false + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqDefault/test/runtests.jl b/lib/OrdinaryDiffEqDefault/test/runtests.jl index 642678b538..bd26f14756 100644 --- a/lib/OrdinaryDiffEqDefault/test/runtests.jl +++ b/lib/OrdinaryDiffEqDefault/test/runtests.jl @@ -1,2 +1,4 @@ using SafeTestsets @time @safetestset "Default Solver Tests" include("default_solver_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqDifferentiation/Project.toml b/lib/OrdinaryDiffEqDifferentiation/Project.toml index 99f9b12ad1..648cba2acf 100644 --- a/lib/OrdinaryDiffEqDifferentiation/Project.toml +++ b/lib/OrdinaryDiffEqDifferentiation/Project.toml @@ -49,12 +49,16 @@ StaticArrayInterface = "1" StaticArrays = "1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqDifferentiation/test/jet.jl b/lib/OrdinaryDiffEqDifferentiation/test/jet.jl new file mode 100644 index 0000000000..c5ee194b2c --- /dev/null +++ b/lib/OrdinaryDiffEqDifferentiation/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqDifferentiation +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqDifferentiation, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqDifferentiation/test/qa.jl b/lib/OrdinaryDiffEqDifferentiation/test/qa.jl new file mode 100644 index 0000000000..0f69813cd3 --- /dev/null +++ b/lib/OrdinaryDiffEqDifferentiation/test/qa.jl @@ -0,0 +1,10 @@ +using OrdinaryDiffEqDifferentiation +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqDifferentiation; + piracies = false, + ambiguities = false + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqDifferentiation/test/runtests.jl b/lib/OrdinaryDiffEqDifferentiation/test/runtests.jl index 8b13789179..75ab3bccf9 100644 --- a/lib/OrdinaryDiffEqDifferentiation/test/runtests.jl +++ b/lib/OrdinaryDiffEqDifferentiation/test/runtests.jl @@ -1 +1,4 @@ +using SafeTestsets +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") diff --git a/lib/OrdinaryDiffEqExplicitRK/Project.toml b/lib/OrdinaryDiffEqExplicitRK/Project.toml index f0640c2e31..9cc6a36f93 100644 --- a/lib/OrdinaryDiffEqExplicitRK/Project.toml +++ b/lib/OrdinaryDiffEqExplicitRK/Project.toml @@ -27,12 +27,16 @@ SafeTestsets = "0.1.0" Test = "<0.0.1, 1" TruncatedStacktraces = "1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqExplicitRK/test/jet.jl b/lib/OrdinaryDiffEqExplicitRK/test/jet.jl new file mode 100644 index 0000000000..6fd263b00f --- /dev/null +++ b/lib/OrdinaryDiffEqExplicitRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqExplicitRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqExplicitRK, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqExplicitRK/test/qa.jl b/lib/OrdinaryDiffEqExplicitRK/test/qa.jl new file mode 100644 index 0000000000..60b35344df --- /dev/null +++ b/lib/OrdinaryDiffEqExplicitRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqExplicitRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqExplicitRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqExplicitRK/test/runtests.jl b/lib/OrdinaryDiffEqExplicitRK/test/runtests.jl index 8b13789179..75ab3bccf9 100644 --- a/lib/OrdinaryDiffEqExplicitRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqExplicitRK/test/runtests.jl @@ -1 +1,4 @@ +using SafeTestsets +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") diff --git a/lib/OrdinaryDiffEqExponentialRK/Project.toml b/lib/OrdinaryDiffEqExponentialRK/Project.toml index ef5e4982c5..183bde0dc8 100644 --- a/lib/OrdinaryDiffEqExponentialRK/Project.toml +++ b/lib/OrdinaryDiffEqExponentialRK/Project.toml @@ -12,8 +12,6 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" MuladdMacro = "46d2c3a1-f734-5fdb-9937-b9b9aeba4221" OrdinaryDiffEqCore = "bbf590c4-e513-4bbe-9b18-05decba2e5d8" OrdinaryDiffEqDifferentiation = "4302a76b-040a-498a-8c04-15b101fed76b" -OrdinaryDiffEqSDIRK = "2d112036-d095-4a1e-ab9a-08536f3ecdbf" -OrdinaryDiffEqVerner = "79d7bb75-1356-48c1-b8c0-6832512096c2" RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd" Reexport = "189a3867-3050-52da-a836-e630ba90ab69" SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462" @@ -29,9 +27,9 @@ LinearSolve = "2.32.0, 3" MuladdMacro = "0.2.4" OrdinaryDiffEqCore = "1.19" OrdinaryDiffEqDifferentiation = "<0.0.1, 1.2" -OrdinaryDiffEqSDIRK = "<0.0.1, 1" OrdinaryDiffEqTsit5 = "<0.0.1, 1" OrdinaryDiffEqVerner = "<0.0.1, 1" +OrdinaryDiffEqSDIRK = "<0.0.1, 1" Random = "<0.0.1, 1" RecursiveArrayTools = "3.27.0" Reexport = "1.2.2" @@ -40,15 +38,21 @@ SciMLBase = "2.48.1" SparseArrays = "<0.0.1, 1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae" OrdinaryDiffEqTsit5 = "b1df2697-797e-41e3-8120-5422d3b24e4a" +OrdinaryDiffEqVerner = "79d7bb75-1356-48c1-b8c0-6832512096c2" +OrdinaryDiffEqSDIRK = "2d112036-d095-4a1e-ab9a-08536f3ecdbf" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "OrdinaryDiffEqTsit5", "LinearSolve", "SparseArrays"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "OrdinaryDiffEqTsit5", "LinearSolve", "SparseArrays", "JET", "Aqua", "OrdinaryDiffEqVerner", "OrdinaryDiffEqSDIRK"] diff --git a/lib/OrdinaryDiffEqExponentialRK/test/jet.jl b/lib/OrdinaryDiffEqExponentialRK/test/jet.jl new file mode 100644 index 0000000000..7e8d1970a4 --- /dev/null +++ b/lib/OrdinaryDiffEqExponentialRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqExponentialRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqExponentialRK, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqExponentialRK/test/qa.jl b/lib/OrdinaryDiffEqExponentialRK/test/qa.jl new file mode 100644 index 0000000000..7da1517ae7 --- /dev/null +++ b/lib/OrdinaryDiffEqExponentialRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqExponentialRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqExponentialRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqExponentialRK/test/runtests.jl b/lib/OrdinaryDiffEqExponentialRK/test/runtests.jl index 2a6b824669..079710b86c 100644 --- a/lib/OrdinaryDiffEqExponentialRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqExponentialRK/test/runtests.jl @@ -2,3 +2,5 @@ using SafeTestsets @time @safetestset "Linear-Nonlinear Krylov Methods Tests" include("linear_nonlinear_krylov_tests.jl") @time @safetestset "Linear-Nonlinear Convergence Tests" include("linear_nonlinear_convergence_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqExtrapolation/Project.toml b/lib/OrdinaryDiffEqExtrapolation/Project.toml index 5b881c66f2..a7d69e5d50 100644 --- a/lib/OrdinaryDiffEqExtrapolation/Project.toml +++ b/lib/OrdinaryDiffEqExtrapolation/Project.toml @@ -33,6 +33,8 @@ Reexport = "1.2.2" SafeTestsets = "0.1.0" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e" @@ -40,6 +42,8 @@ DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "DiffEqBase"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "DiffEqBase", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqExtrapolation/src/OrdinaryDiffEqExtrapolation.jl b/lib/OrdinaryDiffEqExtrapolation/src/OrdinaryDiffEqExtrapolation.jl index 5aa3fb5665..7076f309ef 100644 --- a/lib/OrdinaryDiffEqExtrapolation/src/OrdinaryDiffEqExtrapolation.jl +++ b/lib/OrdinaryDiffEqExtrapolation/src/OrdinaryDiffEqExtrapolation.jl @@ -13,7 +13,7 @@ import OrdinaryDiffEqCore: alg_order, alg_maximum_order, get_current_adaptive_or OrdinaryDiffEqAdaptiveAlgorithm, OrdinaryDiffEqAdaptiveImplicitAlgorithm, alg_cache, CompiledFloats, @threaded, stepsize_controller!, - DEFAULT_PRECS, full_cache, + DEFAULT_PRECS, full_cache, qmin_default, constvalue, PolyesterThreads, Sequential, BaseThreads, _digest_beta1_beta2, timedepentdtmin, _unwrap_val, _reshape, _vec, get_fsalfirstlast, generic_solver_docstring, diff --git a/lib/OrdinaryDiffEqExtrapolation/test/jet.jl b/lib/OrdinaryDiffEqExtrapolation/test/jet.jl new file mode 100644 index 0000000000..80da600db5 --- /dev/null +++ b/lib/OrdinaryDiffEqExtrapolation/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqExtrapolation +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqExtrapolation, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqExtrapolation/test/qa.jl b/lib/OrdinaryDiffEqExtrapolation/test/qa.jl new file mode 100644 index 0000000000..80b2d0084d --- /dev/null +++ b/lib/OrdinaryDiffEqExtrapolation/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqExtrapolation +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqExtrapolation + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqExtrapolation/test/runtests.jl b/lib/OrdinaryDiffEqExtrapolation/test/runtests.jl index 738c8013cc..30bc5adbcb 100644 --- a/lib/OrdinaryDiffEqExtrapolation/test/runtests.jl +++ b/lib/OrdinaryDiffEqExtrapolation/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "Extrapolation Tests" include("ode_extrapolation_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqFIRK/Project.toml b/lib/OrdinaryDiffEqFIRK/Project.toml index 7742f3f50a..bf1fad483f 100644 --- a/lib/OrdinaryDiffEqFIRK/Project.toml +++ b/lib/OrdinaryDiffEqFIRK/Project.toml @@ -28,6 +28,7 @@ DiffEqDevTools = "2.44.4" FastBroadcast = "0.3.5" FastGaussQuadrature = "1.0.2" FastPower = "1" +GenericSchur = "0.5" LinearAlgebra = "<0.0.1, 1" LinearSolve = "2.32.0, 3" MuladdMacro = "0.2.4" @@ -44,6 +45,8 @@ SciMLBase = "2.60.0" SciMLOperators = "0.3.9" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -52,6 +55,8 @@ ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "GenericSchur", "Random", "SafeTestsets", "Test", "ODEProblemLibrary"] +test = ["DiffEqDevTools", "GenericSchur", "Random", "SafeTestsets", "Test", "ODEProblemLibrary", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqFIRK/test/jet.jl b/lib/OrdinaryDiffEqFIRK/test/jet.jl new file mode 100644 index 0000000000..b63ba160ac --- /dev/null +++ b/lib/OrdinaryDiffEqFIRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqFIRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqFIRK, target_defined_modules = true, mode = :typo, broken = true) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqFIRK/test/qa.jl b/lib/OrdinaryDiffEqFIRK/test/qa.jl new file mode 100644 index 0000000000..91f59d565d --- /dev/null +++ b/lib/OrdinaryDiffEqFIRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqFIRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqFIRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqFIRK/test/runtests.jl b/lib/OrdinaryDiffEqFIRK/test/runtests.jl index 39ede8c3b3..6f9ce5a5f5 100644 --- a/lib/OrdinaryDiffEqFIRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqFIRK/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "FIRK Tests" include("ode_firk_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqFeagin/Project.toml b/lib/OrdinaryDiffEqFeagin/Project.toml index 8bdd4a7222..7d0358bb5d 100644 --- a/lib/OrdinaryDiffEqFeagin/Project.toml +++ b/lib/OrdinaryDiffEqFeagin/Project.toml @@ -28,6 +28,8 @@ SafeTestsets = "0.1.0" Static = "1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -35,6 +37,8 @@ ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "ODEProblemLibrary"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "ODEProblemLibrary", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqFeagin/test/jet.jl b/lib/OrdinaryDiffEqFeagin/test/jet.jl new file mode 100644 index 0000000000..2e74088464 --- /dev/null +++ b/lib/OrdinaryDiffEqFeagin/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqFeagin +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqFeagin, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqFeagin/test/qa.jl b/lib/OrdinaryDiffEqFeagin/test/qa.jl new file mode 100644 index 0000000000..7cceede6e7 --- /dev/null +++ b/lib/OrdinaryDiffEqFeagin/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqFeagin +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqFeagin + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqFeagin/test/runtests.jl b/lib/OrdinaryDiffEqFeagin/test/runtests.jl index ebdbb63cb5..5c2f9b2f13 100644 --- a/lib/OrdinaryDiffEqFeagin/test/runtests.jl +++ b/lib/OrdinaryDiffEqFeagin/test/runtests.jl @@ -2,3 +2,5 @@ using SafeTestsets @time @safetestset "Feagin Tests" include("ode_feagin_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqFunctionMap/Project.toml b/lib/OrdinaryDiffEqFunctionMap/Project.toml index ae358acea2..7f9e1248ed 100644 --- a/lib/OrdinaryDiffEqFunctionMap/Project.toml +++ b/lib/OrdinaryDiffEqFunctionMap/Project.toml @@ -27,12 +27,16 @@ SciMLBase = "2.48.1" Static = "1.1.1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqFunctionMap/test/jet.jl b/lib/OrdinaryDiffEqFunctionMap/test/jet.jl new file mode 100644 index 0000000000..7a66377433 --- /dev/null +++ b/lib/OrdinaryDiffEqFunctionMap/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqFunctionMap +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqFunctionMap, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqFunctionMap/test/qa.jl b/lib/OrdinaryDiffEqFunctionMap/test/qa.jl new file mode 100644 index 0000000000..3e26c5117d --- /dev/null +++ b/lib/OrdinaryDiffEqFunctionMap/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqFunctionMap +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqFunctionMap + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqFunctionMap/test/runtests.jl b/lib/OrdinaryDiffEqFunctionMap/test/runtests.jl index 8b13789179..f971e6442f 100644 --- a/lib/OrdinaryDiffEqFunctionMap/test/runtests.jl +++ b/lib/OrdinaryDiffEqFunctionMap/test/runtests.jl @@ -1 +1,4 @@ +using SafeTestsets +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqHighOrderRK/Project.toml b/lib/OrdinaryDiffEqHighOrderRK/Project.toml index 7a6f19a94f..d6d9d3d23a 100644 --- a/lib/OrdinaryDiffEqHighOrderRK/Project.toml +++ b/lib/OrdinaryDiffEqHighOrderRK/Project.toml @@ -26,6 +26,8 @@ SafeTestsets = "0.1.0" Static = "1.1.1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -33,6 +35,8 @@ ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "ODEProblemLibrary", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "ODEProblemLibrary", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqHighOrderRK/test/jet.jl b/lib/OrdinaryDiffEqHighOrderRK/test/jet.jl new file mode 100644 index 0000000000..2899c72a10 --- /dev/null +++ b/lib/OrdinaryDiffEqHighOrderRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqHighOrderRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqHighOrderRK, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqHighOrderRK/test/qa.jl b/lib/OrdinaryDiffEqHighOrderRK/test/qa.jl new file mode 100644 index 0000000000..7afa33773b --- /dev/null +++ b/lib/OrdinaryDiffEqHighOrderRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqHighOrderRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqHighOrderRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqHighOrderRK/test/runtests.jl b/lib/OrdinaryDiffEqHighOrderRK/test/runtests.jl index 14748a70f2..1b294017a4 100644 --- a/lib/OrdinaryDiffEqHighOrderRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqHighOrderRK/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "High Order ERK Convergence Tests" include("high_order_erk_convergence_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqIMEXMultistep/Project.toml b/lib/OrdinaryDiffEqIMEXMultistep/Project.toml index 7b386d77bb..a90d074222 100644 --- a/lib/OrdinaryDiffEqIMEXMultistep/Project.toml +++ b/lib/OrdinaryDiffEqIMEXMultistep/Project.toml @@ -25,12 +25,16 @@ Reexport = "1.2.2" SafeTestsets = "0.1.0" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqIMEXMultistep/test/jet.jl b/lib/OrdinaryDiffEqIMEXMultistep/test/jet.jl new file mode 100644 index 0000000000..f10091d9e0 --- /dev/null +++ b/lib/OrdinaryDiffEqIMEXMultistep/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqIMEXMultistep +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqIMEXMultistep, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqIMEXMultistep/test/qa.jl b/lib/OrdinaryDiffEqIMEXMultistep/test/qa.jl new file mode 100644 index 0000000000..1757af4c40 --- /dev/null +++ b/lib/OrdinaryDiffEqIMEXMultistep/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqIMEXMultistep +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqIMEXMultistep + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqIMEXMultistep/test/runtests.jl b/lib/OrdinaryDiffEqIMEXMultistep/test/runtests.jl index 8b13789179..75ab3bccf9 100644 --- a/lib/OrdinaryDiffEqIMEXMultistep/test/runtests.jl +++ b/lib/OrdinaryDiffEqIMEXMultistep/test/runtests.jl @@ -1 +1,4 @@ +using SafeTestsets +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") diff --git a/lib/OrdinaryDiffEqLinear/Project.toml b/lib/OrdinaryDiffEqLinear/Project.toml index 5b8127135a..90c6126ded 100644 --- a/lib/OrdinaryDiffEqLinear/Project.toml +++ b/lib/OrdinaryDiffEqLinear/Project.toml @@ -8,8 +8,6 @@ DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e" ExponentialUtilities = "d4d017d3-3776-5f7e-afef-a10c40355c18" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" OrdinaryDiffEqCore = "bbf590c4-e513-4bbe-9b18-05decba2e5d8" -OrdinaryDiffEqTsit5 = "b1df2697-797e-41e3-8120-5422d3b24e4a" -OrdinaryDiffEqVerner = "79d7bb75-1356-48c1-b8c0-6832512096c2" RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd" Reexport = "189a3867-3050-52da-a836-e630ba90ab69" SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462" @@ -22,8 +20,8 @@ ExponentialUtilities = "1.27" LinearAlgebra = "<0.0.1, 1" OrdinaryDiffEqCore = "1.1" OrdinaryDiffEqRosenbrock = "<0.0.1, 1" -OrdinaryDiffEqTsit5 = "<0.0.1, 1" OrdinaryDiffEqVerner = "<0.0.1, 1" +OrdinaryDiffEqTsit5 = "<0.0.1, 1" Random = "<0.0.1, 1" RecursiveArrayTools = "3.27.0" Reexport = "1.2.2" @@ -32,13 +30,19 @@ SciMLBase = "2.48.1" SciMLOperators = "0.3.9" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" OrdinaryDiffEqRosenbrock = "43230ef6-c299-4910-a778-202eb28ce4ce" +OrdinaryDiffEqVerner = "79d7bb75-1356-48c1-b8c0-6832512096c2" +OrdinaryDiffEqTsit5 = "b1df2697-797e-41e3-8120-5422d3b24e4a" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "OrdinaryDiffEqRosenbrock", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "Random", "OrdinaryDiffEqRosenbrock", "SafeTestsets", "Test", "JET", "Aqua", "OrdinaryDiffEqVerner", "OrdinaryDiffEqTsit5"] diff --git a/lib/OrdinaryDiffEqLinear/test/jet.jl b/lib/OrdinaryDiffEqLinear/test/jet.jl new file mode 100644 index 0000000000..c6c146e8f7 --- /dev/null +++ b/lib/OrdinaryDiffEqLinear/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqLinear +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqLinear, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqLinear/test/qa.jl b/lib/OrdinaryDiffEqLinear/test/qa.jl new file mode 100644 index 0000000000..f5a6790cc8 --- /dev/null +++ b/lib/OrdinaryDiffEqLinear/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqLinear +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqLinear + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqLinear/test/runtests.jl b/lib/OrdinaryDiffEqLinear/test/runtests.jl index fd166282ab..cb444f2ebe 100644 --- a/lib/OrdinaryDiffEqLinear/test/runtests.jl +++ b/lib/OrdinaryDiffEqLinear/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "Linear Methods Tests" include("linear_method_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqLowOrderRK/Project.toml b/lib/OrdinaryDiffEqLowOrderRK/Project.toml index 75b4acea91..0c7f81d7a9 100644 --- a/lib/OrdinaryDiffEqLowOrderRK/Project.toml +++ b/lib/OrdinaryDiffEqLowOrderRK/Project.toml @@ -30,6 +30,8 @@ SciMLBase = "2.48.1" Static = "1.1.1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -37,6 +39,8 @@ ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "ODEProblemLibrary"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "ODEProblemLibrary", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqLowOrderRK/test/jet.jl b/lib/OrdinaryDiffEqLowOrderRK/test/jet.jl new file mode 100644 index 0000000000..f1cc649e2c --- /dev/null +++ b/lib/OrdinaryDiffEqLowOrderRK/test/jet.jl @@ -0,0 +1,8 @@ +import OrdinaryDiffEqLowOrderRK +using JET + +# False positive typo +# @testset "JET Tests" begin +# test_package( +# OrdinaryDiffEqLowOrderRK, target_defined_modules = true, mode = :typo) +# end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqLowOrderRK/test/qa.jl b/lib/OrdinaryDiffEqLowOrderRK/test/qa.jl new file mode 100644 index 0000000000..bba8bb41bb --- /dev/null +++ b/lib/OrdinaryDiffEqLowOrderRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqLowOrderRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqLowOrderRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqLowOrderRK/test/runtests.jl b/lib/OrdinaryDiffEqLowOrderRK/test/runtests.jl index 6676589614..1e40ee0f20 100644 --- a/lib/OrdinaryDiffEqLowOrderRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqLowOrderRK/test/runtests.jl @@ -3,3 +3,5 @@ using SafeTestsets @time @safetestset "Low Order ERK Convergence Tests" include("low_order_erk_convergence_tests.jl") @time @safetestset "OwrenZen Tests" include("owrenzen_tests.jl") @time @safetestset "Euler SSP Tests" include("euler_ssp.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqLowStorageRK/Project.toml b/lib/OrdinaryDiffEqLowStorageRK/Project.toml index 8606b9aea9..c4284fc184 100644 --- a/lib/OrdinaryDiffEqLowStorageRK/Project.toml +++ b/lib/OrdinaryDiffEqLowStorageRK/Project.toml @@ -37,6 +37,8 @@ StaticArrays = "1.9.7" StructArrays = "0.6" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -45,6 +47,8 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "StructArrays", "Test", "ODEProblemLibrary"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "StructArrays", "Test", "ODEProblemLibrary", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqLowStorageRK/test/jet.jl b/lib/OrdinaryDiffEqLowStorageRK/test/jet.jl new file mode 100644 index 0000000000..a3916b9fac --- /dev/null +++ b/lib/OrdinaryDiffEqLowStorageRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqLowStorageRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqLowStorageRK, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqLowStorageRK/test/qa.jl b/lib/OrdinaryDiffEqLowStorageRK/test/qa.jl new file mode 100644 index 0000000000..146604d4f3 --- /dev/null +++ b/lib/OrdinaryDiffEqLowStorageRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqLowStorageRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqLowStorageRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqLowStorageRK/test/runtests.jl b/lib/OrdinaryDiffEqLowStorageRK/test/runtests.jl index 7225e9390c..f39a42edb5 100644 --- a/lib/OrdinaryDiffEqLowStorageRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqLowStorageRK/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "Low Storage RK Tests" include("ode_low_storage_rk_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqNonlinearSolve/Project.toml b/lib/OrdinaryDiffEqNonlinearSolve/Project.toml index 566740c335..c41dbd9d6f 100644 --- a/lib/OrdinaryDiffEqNonlinearSolve/Project.toml +++ b/lib/OrdinaryDiffEqNonlinearSolve/Project.toml @@ -34,10 +34,13 @@ FastClosures = "0.3.2" ForwardDiff = "0.10.36" LinearAlgebra = "<0.0.1, 1" LinearSolve = "2.32.0, 3" +LineSearches = "7" MuladdMacro = "0.2.4" NonlinearSolve = "3.14.0, 4" OrdinaryDiffEqCore = "1.21" OrdinaryDiffEqDifferentiation = "1.5" +OrdinaryDiffEqSDIRK = "1" +ODEProblemLibrary = "0.1.8" PreallocationTools = "0.4.23" Random = "<0.0.1, 1" RecursiveArrayTools = "3.27.0" @@ -49,6 +52,8 @@ SimpleNonlinearSolve = "1.12.0, 2" StaticArrays = "1.9.7" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -58,6 +63,8 @@ OrdinaryDiffEqSDIRK = "2d112036-d095-4a1e-ab9a-08536f3ecdbf" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "LineSearches", "ODEProblemLibrary", "OrdinaryDiffEqSDIRK", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "LineSearches", "ODEProblemLibrary", "OrdinaryDiffEqSDIRK", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqNonlinearSolve/src/OrdinaryDiffEqNonlinearSolve.jl b/lib/OrdinaryDiffEqNonlinearSolve/src/OrdinaryDiffEqNonlinearSolve.jl index bffaed0a0f..a04d64f93f 100644 --- a/lib/OrdinaryDiffEqNonlinearSolve/src/OrdinaryDiffEqNonlinearSolve.jl +++ b/lib/OrdinaryDiffEqNonlinearSolve/src/OrdinaryDiffEqNonlinearSolve.jl @@ -15,7 +15,7 @@ using NonlinearSolve: FastShortcutNonlinearPolyalg, FastShortcutNLLSPolyalg, New step! using MuladdMacro, FastBroadcast import FastClosures: @closure -using LinearAlgebra: UniformScaling, UpperTriangular +using LinearAlgebra: UniformScaling, UpperTriangular, givens, cond, dot, lmul!, axpy! import LinearAlgebra import ArrayInterface import LinearSolve diff --git a/lib/OrdinaryDiffEqNonlinearSolve/test/jet.jl b/lib/OrdinaryDiffEqNonlinearSolve/test/jet.jl new file mode 100644 index 0000000000..ac28aad6f9 --- /dev/null +++ b/lib/OrdinaryDiffEqNonlinearSolve/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqNonlinearSolve +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqNonlinearSolve, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqNonlinearSolve/test/qa.jl b/lib/OrdinaryDiffEqNonlinearSolve/test/qa.jl new file mode 100644 index 0000000000..f380854776 --- /dev/null +++ b/lib/OrdinaryDiffEqNonlinearSolve/test/qa.jl @@ -0,0 +1,9 @@ +using OrdinaryDiffEqNonlinearSolve +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqNonlinearSolve; + piracies = false + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqNonlinearSolve/test/runtests.jl b/lib/OrdinaryDiffEqNonlinearSolve/test/runtests.jl index 8f1738e67a..4ddf17cce3 100644 --- a/lib/OrdinaryDiffEqNonlinearSolve/test/runtests.jl +++ b/lib/OrdinaryDiffEqNonlinearSolve/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "Newton Tests" include("newton_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqNordsieck/Project.toml b/lib/OrdinaryDiffEqNordsieck/Project.toml index 8acc1dd828..5347cdee75 100644 --- a/lib/OrdinaryDiffEqNordsieck/Project.toml +++ b/lib/OrdinaryDiffEqNordsieck/Project.toml @@ -32,6 +32,8 @@ SafeTestsets = "0.1.0" Static = "1.1.1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -39,6 +41,8 @@ ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "ODEProblemLibrary"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "ODEProblemLibrary", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqNordsieck/test/jet.jl b/lib/OrdinaryDiffEqNordsieck/test/jet.jl new file mode 100644 index 0000000000..a814b9561d --- /dev/null +++ b/lib/OrdinaryDiffEqNordsieck/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqNordsieck +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqNordsieck, target_defined_modules = true, mode = :typo) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqNordsieck/test/qa.jl b/lib/OrdinaryDiffEqNordsieck/test/qa.jl new file mode 100644 index 0000000000..a357974639 --- /dev/null +++ b/lib/OrdinaryDiffEqNordsieck/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqNordsieck +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqNordsieck + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqNordsieck/test/runtests.jl b/lib/OrdinaryDiffEqNordsieck/test/runtests.jl index 94733f2e58..169879e28d 100644 --- a/lib/OrdinaryDiffEqNordsieck/test/runtests.jl +++ b/lib/OrdinaryDiffEqNordsieck/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "Nordsieck Tests" include("nordsieck_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqPDIRK/Project.toml b/lib/OrdinaryDiffEqPDIRK/Project.toml index ca0241a89a..8a89710c81 100644 --- a/lib/OrdinaryDiffEqPDIRK/Project.toml +++ b/lib/OrdinaryDiffEqPDIRK/Project.toml @@ -31,12 +31,16 @@ SafeTestsets = "0.1.0" StaticArrays = "1.9.7" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqPDIRK/test/jet.jl b/lib/OrdinaryDiffEqPDIRK/test/jet.jl new file mode 100644 index 0000000000..b4fb46b7ff --- /dev/null +++ b/lib/OrdinaryDiffEqPDIRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqPDIRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqPDIRK, target_defined_modules = true, mode = :typo) +end diff --git a/lib/OrdinaryDiffEqPDIRK/test/qa.jl b/lib/OrdinaryDiffEqPDIRK/test/qa.jl new file mode 100644 index 0000000000..78304ff879 --- /dev/null +++ b/lib/OrdinaryDiffEqPDIRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqPDIRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqPDIRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqPDIRK/test/runtests.jl b/lib/OrdinaryDiffEqPDIRK/test/runtests.jl index 8b13789179..68d9fbc840 100644 --- a/lib/OrdinaryDiffEqPDIRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqPDIRK/test/runtests.jl @@ -1 +1,3 @@ +using SafeTestsets +@time @safetestset "JET Tests" include("jet.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqPRK/Project.toml b/lib/OrdinaryDiffEqPRK/Project.toml index f34b93901b..499d7f6457 100644 --- a/lib/OrdinaryDiffEqPRK/Project.toml +++ b/lib/OrdinaryDiffEqPRK/Project.toml @@ -23,12 +23,16 @@ Reexport = "1.2.2" SafeTestsets = "0.1.0" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqPRK/test/jet.jl b/lib/OrdinaryDiffEqPRK/test/jet.jl new file mode 100644 index 0000000000..a776622e8f --- /dev/null +++ b/lib/OrdinaryDiffEqPRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqPRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqPRK, target_defined_modules = true, mode = :typo) +end diff --git a/lib/OrdinaryDiffEqPRK/test/qa.jl b/lib/OrdinaryDiffEqPRK/test/qa.jl new file mode 100644 index 0000000000..826d01c760 --- /dev/null +++ b/lib/OrdinaryDiffEqPRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqPRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqPRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqPRK/test/runtests.jl b/lib/OrdinaryDiffEqPRK/test/runtests.jl index 593f765d07..f971e6442f 100644 --- a/lib/OrdinaryDiffEqPRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqPRK/test/runtests.jl @@ -1 +1,4 @@ using SafeTestsets + +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqQPRK/Project.toml b/lib/OrdinaryDiffEqQPRK/Project.toml index d0fc6065d0..5d93acda26 100644 --- a/lib/OrdinaryDiffEqQPRK/Project.toml +++ b/lib/OrdinaryDiffEqQPRK/Project.toml @@ -26,6 +26,8 @@ SafeTestsets = "0.1.0" Static = "1.1.1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -33,6 +35,8 @@ ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "ODEProblemLibrary"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "ODEProblemLibrary", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqQPRK/test/jet.jl b/lib/OrdinaryDiffEqQPRK/test/jet.jl new file mode 100644 index 0000000000..4d53c40fc8 --- /dev/null +++ b/lib/OrdinaryDiffEqQPRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqQPRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqQPRK, target_defined_modules = true, mode = :typo) +end diff --git a/lib/OrdinaryDiffEqQPRK/test/qa.jl b/lib/OrdinaryDiffEqQPRK/test/qa.jl new file mode 100644 index 0000000000..d401caeb73 --- /dev/null +++ b/lib/OrdinaryDiffEqQPRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqQPRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqQPRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqQPRK/test/runtests.jl b/lib/OrdinaryDiffEqQPRK/test/runtests.jl index 080a263242..afb6e0ed86 100644 --- a/lib/OrdinaryDiffEqQPRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqQPRK/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "Quadruple Precision Tests" include("ode_quadruple_precision_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqRKN/Project.toml b/lib/OrdinaryDiffEqRKN/Project.toml index 3cd5c9338c..c3c8e235bf 100644 --- a/lib/OrdinaryDiffEqRKN/Project.toml +++ b/lib/OrdinaryDiffEqRKN/Project.toml @@ -26,6 +26,8 @@ SafeTestsets = "0.1.0" Statistics = "<0.0.1, 1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -33,6 +35,8 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "Statistics"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "Statistics", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqRKN/test/jet.jl b/lib/OrdinaryDiffEqRKN/test/jet.jl new file mode 100644 index 0000000000..d83eb38f8e --- /dev/null +++ b/lib/OrdinaryDiffEqRKN/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqRKN +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqRKN, target_defined_modules = true, mode = :typo, broken = true) +end diff --git a/lib/OrdinaryDiffEqRKN/test/qa.jl b/lib/OrdinaryDiffEqRKN/test/qa.jl new file mode 100644 index 0000000000..8038e73946 --- /dev/null +++ b/lib/OrdinaryDiffEqRKN/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqRKN +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqRKN + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqRKN/test/runtests.jl b/lib/OrdinaryDiffEqRKN/test/runtests.jl index 6799e1bcad..a9c45b07b2 100644 --- a/lib/OrdinaryDiffEqRKN/test/runtests.jl +++ b/lib/OrdinaryDiffEqRKN/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "Nystrom Convergence Tests" include("nystrom_convergence_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqRosenbrock/Project.toml b/lib/OrdinaryDiffEqRosenbrock/Project.toml index 906150dec9..dc1fb20a6b 100644 --- a/lib/OrdinaryDiffEqRosenbrock/Project.toml +++ b/lib/OrdinaryDiffEqRosenbrock/Project.toml @@ -28,6 +28,7 @@ ADTypes = "1.11" DiffEqBase = "6.152.2" DiffEqDevTools = "2.44.4" DifferentiationInterface = "0.6.48" +Enzyme = "0.13" FastBroadcast = "0.3.5" FiniteDiff = "2.24.0" ForwardDiff = "0.10.36" @@ -38,6 +39,7 @@ MuladdMacro = "0.2.4" ODEProblemLibrary = "0.1.8" OrdinaryDiffEqCore = "1.21" OrdinaryDiffEqDifferentiation = "1.5" +OrdinaryDiffEqNonlinearSolve = "1.6" Polyester = "0.7.16" PrecompileTools = "1.2.1" Preferences = "1.4.3" @@ -48,6 +50,8 @@ SafeTestsets = "0.1.0" Static = "1.1.1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -60,6 +64,8 @@ OrdinaryDiffEqNonlinearSolve = "127b3ac7-2247-4354-8eb6-78cf4e7c58e8" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "OrdinaryDiffEqNonlinearSolve", "SafeTestsets", "Test", "LinearAlgebra", "LinearSolve", "ForwardDiff", "ODEProblemLibrary", "Enzyme"] +test = ["DiffEqDevTools", "Random", "OrdinaryDiffEqNonlinearSolve", "SafeTestsets", "Test", "LinearAlgebra", "LinearSolve", "ForwardDiff", "ODEProblemLibrary", "Enzyme", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqRosenbrock/src/OrdinaryDiffEqRosenbrock.jl b/lib/OrdinaryDiffEqRosenbrock/src/OrdinaryDiffEqRosenbrock.jl index 10de0f3a9a..def91a5f63 100644 --- a/lib/OrdinaryDiffEqRosenbrock/src/OrdinaryDiffEqRosenbrock.jl +++ b/lib/OrdinaryDiffEqRosenbrock/src/OrdinaryDiffEqRosenbrock.jl @@ -23,7 +23,7 @@ import LinearSolve import LinearSolve: UniformScaling import ForwardDiff using FiniteDiff -using LinearAlgebra: mul!, diag, diagm, I, Diagonal, norm +using LinearAlgebra: mul!, diag, diagm, I, Diagonal, norm, lu! using ADTypes import OrdinaryDiffEqCore, OrdinaryDiffEqDifferentiation diff --git a/lib/OrdinaryDiffEqRosenbrock/test/jet.jl b/lib/OrdinaryDiffEqRosenbrock/test/jet.jl new file mode 100644 index 0000000000..171e974965 --- /dev/null +++ b/lib/OrdinaryDiffEqRosenbrock/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqRosenbrock +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqRosenbrock, target_defined_modules = true, mode = :typo, broken = true) +end diff --git a/lib/OrdinaryDiffEqRosenbrock/test/qa.jl b/lib/OrdinaryDiffEqRosenbrock/test/qa.jl new file mode 100644 index 0000000000..956cb89095 --- /dev/null +++ b/lib/OrdinaryDiffEqRosenbrock/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqRosenbrock +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqRosenbrock + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqRosenbrock/test/runtests.jl b/lib/OrdinaryDiffEqRosenbrock/test/runtests.jl index 1bdd64146f..6a39f97d2e 100644 --- a/lib/OrdinaryDiffEqRosenbrock/test/runtests.jl +++ b/lib/OrdinaryDiffEqRosenbrock/test/runtests.jl @@ -2,3 +2,5 @@ using SafeTestsets @time @safetestset "DAE Rosenbrock AD Tests" include("dae_rosenbrock_ad_tests.jl") @time @safetestset "Rosenbrock Convergence Tests" include("ode_rosenbrock_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqSDIRK/Project.toml b/lib/OrdinaryDiffEqSDIRK/Project.toml index a6129eab01..7aefea03f8 100644 --- a/lib/OrdinaryDiffEqSDIRK/Project.toml +++ b/lib/OrdinaryDiffEqSDIRK/Project.toml @@ -37,12 +37,16 @@ SciMLBase = "2.48.1" Test = "<0.0.1, 1" TruncatedStacktraces = "1.4.0" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqSDIRK/src/OrdinaryDiffEqSDIRK.jl b/lib/OrdinaryDiffEqSDIRK/src/OrdinaryDiffEqSDIRK.jl index f69aefe945..2cda6ba0d4 100644 --- a/lib/OrdinaryDiffEqSDIRK/src/OrdinaryDiffEqSDIRK.jl +++ b/lib/OrdinaryDiffEqSDIRK/src/OrdinaryDiffEqSDIRK.jl @@ -14,7 +14,7 @@ import OrdinaryDiffEqCore: alg_order, calculate_residuals!, trivial_limiter!, _ode_interpolant!, isesdirk, issplit, ssp_coefficient, get_fsalfirstlast, generic_solver_docstring, - _bool_to_ADType, _process_AD_choice + _bool_to_ADType, _process_AD_choice, current_extrapolant! using TruncatedStacktraces, MuladdMacro, MacroTools, FastBroadcast, RecursiveArrayTools using SciMLBase: SplitFunction using LinearAlgebra: mul!, I diff --git a/lib/OrdinaryDiffEqSDIRK/test/jet.jl b/lib/OrdinaryDiffEqSDIRK/test/jet.jl new file mode 100644 index 0000000000..673efe2f7e --- /dev/null +++ b/lib/OrdinaryDiffEqSDIRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqSDIRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqSDIRK, target_defined_modules = true, mode = :typo) +end diff --git a/lib/OrdinaryDiffEqSDIRK/test/qa.jl b/lib/OrdinaryDiffEqSDIRK/test/qa.jl new file mode 100644 index 0000000000..a1f9176802 --- /dev/null +++ b/lib/OrdinaryDiffEqSDIRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqSDIRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqSDIRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqSDIRK/test/runtests.jl b/lib/OrdinaryDiffEqSDIRK/test/runtests.jl index 8b13789179..f971e6442f 100644 --- a/lib/OrdinaryDiffEqSDIRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqSDIRK/test/runtests.jl @@ -1 +1,4 @@ +using SafeTestsets +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqSSPRK/Project.toml b/lib/OrdinaryDiffEqSSPRK/Project.toml index 8dd9344c38..49de47c910 100644 --- a/lib/OrdinaryDiffEqSSPRK/Project.toml +++ b/lib/OrdinaryDiffEqSSPRK/Project.toml @@ -36,6 +36,8 @@ StaticArrays = "1.9.7" StructArrays = "0.6" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -45,6 +47,8 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "StructArrays", "Test", "ODEProblemLibrary", "OrdinaryDiffEqLowStorageRK"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "StructArrays", "Test", "ODEProblemLibrary", "OrdinaryDiffEqLowStorageRK", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqSSPRK/test/jet.jl b/lib/OrdinaryDiffEqSSPRK/test/jet.jl new file mode 100644 index 0000000000..fa83d139fb --- /dev/null +++ b/lib/OrdinaryDiffEqSSPRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqSSPRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqSSPRK, target_defined_modules = true, mode = :typo) +end diff --git a/lib/OrdinaryDiffEqSSPRK/test/qa.jl b/lib/OrdinaryDiffEqSSPRK/test/qa.jl new file mode 100644 index 0000000000..ae57485288 --- /dev/null +++ b/lib/OrdinaryDiffEqSSPRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqSSPRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqSSPRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqSSPRK/test/runtests.jl b/lib/OrdinaryDiffEqSSPRK/test/runtests.jl index 228a1f248f..7c3658bc8f 100644 --- a/lib/OrdinaryDiffEqSSPRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqSSPRK/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "SSPRK Tests" include("ode_ssprk_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqStabilizedIRK/Project.toml b/lib/OrdinaryDiffEqStabilizedIRK/Project.toml index 476366f033..852d9e4503 100644 --- a/lib/OrdinaryDiffEqStabilizedIRK/Project.toml +++ b/lib/OrdinaryDiffEqStabilizedIRK/Project.toml @@ -11,6 +11,7 @@ MuladdMacro = "46d2c3a1-f734-5fdb-9937-b9b9aeba4221" OrdinaryDiffEqCore = "bbf590c4-e513-4bbe-9b18-05decba2e5d8" OrdinaryDiffEqDifferentiation = "4302a76b-040a-498a-8c04-15b101fed76b" OrdinaryDiffEqNonlinearSolve = "127b3ac7-2247-4354-8eb6-78cf4e7c58e8" +OrdinaryDiffEqStabilizedRK = "358294b1-0aab-51c3-aafe-ad5ab194a2ad" RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd" Reexport = "189a3867-3050-52da-a836-e630ba90ab69" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" @@ -25,6 +26,7 @@ MuladdMacro = "0.2.4" OrdinaryDiffEqCore = "1.19" OrdinaryDiffEqDifferentiation = "<0.0.1, 1.2" OrdinaryDiffEqNonlinearSolve = "<0.0.1, 1" +OrdinaryDiffEqStabilizedRK = "1.1.0" Random = "<0.0.1, 1" RecursiveArrayTools = "3.27.0" Reexport = "1.2.2" @@ -32,6 +34,8 @@ SafeTestsets = "0.1.0" StaticArrays = "1.9.7" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -39,6 +43,8 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "LinearAlgebra"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "LinearAlgebra", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqStabilizedIRK/src/OrdinaryDiffEqStabilizedIRK.jl b/lib/OrdinaryDiffEqStabilizedIRK/src/OrdinaryDiffEqStabilizedIRK.jl index b2e154c6f4..71130ecca1 100644 --- a/lib/OrdinaryDiffEqStabilizedIRK/src/OrdinaryDiffEqStabilizedIRK.jl +++ b/lib/OrdinaryDiffEqStabilizedIRK/src/OrdinaryDiffEqStabilizedIRK.jl @@ -16,6 +16,9 @@ import OrdinaryDiffEqCore: alg_order, alg_maximum_order, using OrdinaryDiffEqDifferentiation: dolinsolve, update_W! using OrdinaryDiffEqNonlinearSolve: NLNewton, nlsolve!, isnewton, build_nlsolver, markfirststage!, du_alias_or_new, get_W + +using OrdinaryDiffEqStabilizedRK: ESERK4, ESERK5, RKC, SERK2 + using FastBroadcast, MuladdMacro, RecursiveArrayTools import StaticArrays: SArray, MVector, SVector, @SVector, StaticArray, MMatrix, SA import OrdinaryDiffEqCore diff --git a/lib/OrdinaryDiffEqStabilizedIRK/test/jet.jl b/lib/OrdinaryDiffEqStabilizedIRK/test/jet.jl new file mode 100644 index 0000000000..885c6e8e91 --- /dev/null +++ b/lib/OrdinaryDiffEqStabilizedIRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqStabilizedIRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqStabilizedIRK, target_defined_modules = true, mode = :typo) +end diff --git a/lib/OrdinaryDiffEqStabilizedIRK/test/qa.jl b/lib/OrdinaryDiffEqStabilizedIRK/test/qa.jl new file mode 100644 index 0000000000..8912b488b0 --- /dev/null +++ b/lib/OrdinaryDiffEqStabilizedIRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqStabilizedIRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqStabilizedIRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqStabilizedIRK/test/runtests.jl b/lib/OrdinaryDiffEqStabilizedIRK/test/runtests.jl index de44281497..fcb0139b33 100644 --- a/lib/OrdinaryDiffEqStabilizedIRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqStabilizedIRK/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "IRKC Tests" include("irkc_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqStabilizedRK/Project.toml b/lib/OrdinaryDiffEqStabilizedRK/Project.toml index 950345829a..430097616d 100644 --- a/lib/OrdinaryDiffEqStabilizedRK/Project.toml +++ b/lib/OrdinaryDiffEqStabilizedRK/Project.toml @@ -27,6 +27,8 @@ SafeTestsets = "0.1.0" StaticArrays = "1.9.7" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -35,6 +37,8 @@ ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "LinearAlgebra", "ODEProblemLibrary"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "LinearAlgebra", "ODEProblemLibrary", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqStabilizedRK/test/jet.jl b/lib/OrdinaryDiffEqStabilizedRK/test/jet.jl new file mode 100644 index 0000000000..d51bd793ab --- /dev/null +++ b/lib/OrdinaryDiffEqStabilizedRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqStabilizedRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqStabilizedRK, target_defined_modules = true, mode = :typo) +end diff --git a/lib/OrdinaryDiffEqStabilizedRK/test/qa.jl b/lib/OrdinaryDiffEqStabilizedRK/test/qa.jl new file mode 100644 index 0000000000..83b8538e6f --- /dev/null +++ b/lib/OrdinaryDiffEqStabilizedRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqStabilizedRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqStabilizedRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqStabilizedRK/test/runtests.jl b/lib/OrdinaryDiffEqStabilizedRK/test/runtests.jl index fe60ea9a4d..1b15629103 100644 --- a/lib/OrdinaryDiffEqStabilizedRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqStabilizedRK/test/runtests.jl @@ -1,3 +1,5 @@ using SafeTestsets @time @safetestset "RKC Tests" include("rkc_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqSymplecticRK/Project.toml b/lib/OrdinaryDiffEqSymplecticRK/Project.toml index 625166a207..4ba7c7129e 100644 --- a/lib/OrdinaryDiffEqSymplecticRK/Project.toml +++ b/lib/OrdinaryDiffEqSymplecticRK/Project.toml @@ -29,6 +29,8 @@ SafeTestsets = "0.1.0" Statistics = "<0.0.1, 1" Test = "<0.0.1, 1" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -39,6 +41,8 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "Statistics", "LinearAlgebra", "OrdinaryDiffEqTsit5", "OrdinaryDiffEqRKN"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "Statistics", "LinearAlgebra", "OrdinaryDiffEqTsit5", "OrdinaryDiffEqRKN", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqSymplecticRK/test/jet.jl b/lib/OrdinaryDiffEqSymplecticRK/test/jet.jl new file mode 100644 index 0000000000..467f98eef6 --- /dev/null +++ b/lib/OrdinaryDiffEqSymplecticRK/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqSymplecticRK +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqSymplecticRK, target_defined_modules = true, mode = :typo) +end diff --git a/lib/OrdinaryDiffEqSymplecticRK/test/qa.jl b/lib/OrdinaryDiffEqSymplecticRK/test/qa.jl new file mode 100644 index 0000000000..6b7817e03c --- /dev/null +++ b/lib/OrdinaryDiffEqSymplecticRK/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqSymplecticRK +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqSymplecticRK + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqSymplecticRK/test/runtests.jl b/lib/OrdinaryDiffEqSymplecticRK/test/runtests.jl index b051eeb6f7..c16863e320 100644 --- a/lib/OrdinaryDiffEqSymplecticRK/test/runtests.jl +++ b/lib/OrdinaryDiffEqSymplecticRK/test/runtests.jl @@ -2,3 +2,5 @@ using SafeTestsets @time @safetestset "Synplectic Convergence Tests" include("symplectic_convergence.jl") @time @safetestset "Synplectic Tests" include("symplectic_tests.jl") +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqTaylorSeries/Project.toml b/lib/OrdinaryDiffEqTaylorSeries/Project.toml index 416f8311b3..3a0eb59d18 100644 --- a/lib/OrdinaryDiffEqTaylorSeries/Project.toml +++ b/lib/OrdinaryDiffEqTaylorSeries/Project.toml @@ -39,6 +39,8 @@ TaylorDiff = "0.3.1" Test = "<0.0.1, 1" TruncatedStacktraces = "1.4.0" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" @@ -46,6 +48,8 @@ ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "ODEProblemLibrary"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "ODEProblemLibrary", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqTaylorSeries/test/jet.jl b/lib/OrdinaryDiffEqTaylorSeries/test/jet.jl new file mode 100644 index 0000000000..d3add42cb9 --- /dev/null +++ b/lib/OrdinaryDiffEqTaylorSeries/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqTaylorSeries +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqTaylorSeries, target_defined_modules = true, mode = :typo) +end diff --git a/lib/OrdinaryDiffEqTaylorSeries/test/qa.jl b/lib/OrdinaryDiffEqTaylorSeries/test/qa.jl new file mode 100644 index 0000000000..d6a03a29b5 --- /dev/null +++ b/lib/OrdinaryDiffEqTaylorSeries/test/qa.jl @@ -0,0 +1,13 @@ +using OrdinaryDiffEqTaylorSeries +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqTaylorSeries; + unbound_args = false, + undefined_exports = false, + stale_deps = false, + deps_compat = false, + ambiguities = false + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqTaylorSeries/test/runtests.jl b/lib/OrdinaryDiffEqTaylorSeries/test/runtests.jl index ee42ac54d2..e6b51e0362 100644 --- a/lib/OrdinaryDiffEqTaylorSeries/test/runtests.jl +++ b/lib/OrdinaryDiffEqTaylorSeries/test/runtests.jl @@ -1,4 +1,4 @@ -using OrdinaryDiffEqTaylorSeries, ODEProblemLibrary, DiffEqDevTools +using OrdinaryDiffEqTaylorSeries, ODEProblemLibrary, DiffEqDevTools, JET using Test @testset "Taylor2 Convergence Tests" begin @@ -28,3 +28,6 @@ end sol = solve(prob_ode_linear, ExplicitTaylor(order=Val(2))) @test length(sol) < 20 end + +include("jet.jl") +include("qa.jl") diff --git a/lib/OrdinaryDiffEqTsit5/Project.toml b/lib/OrdinaryDiffEqTsit5/Project.toml index 91b6491873..63c923967d 100644 --- a/lib/OrdinaryDiffEqTsit5/Project.toml +++ b/lib/OrdinaryDiffEqTsit5/Project.toml @@ -33,12 +33,16 @@ Static = "1.1.1" Test = "<0.0.1, 1" TruncatedStacktraces = "1.4.0" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqTsit5/test/jet.jl b/lib/OrdinaryDiffEqTsit5/test/jet.jl new file mode 100644 index 0000000000..74b9d9e25f --- /dev/null +++ b/lib/OrdinaryDiffEqTsit5/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqTsit5 +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqTsit5, target_defined_modules = true, mode = :typo) +end diff --git a/lib/OrdinaryDiffEqTsit5/test/qa.jl b/lib/OrdinaryDiffEqTsit5/test/qa.jl new file mode 100644 index 0000000000..85d2469c43 --- /dev/null +++ b/lib/OrdinaryDiffEqTsit5/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqTsit5 +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqTsit5 + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqTsit5/test/runtests.jl b/lib/OrdinaryDiffEqTsit5/test/runtests.jl index 8b13789179..f971e6442f 100644 --- a/lib/OrdinaryDiffEqTsit5/test/runtests.jl +++ b/lib/OrdinaryDiffEqTsit5/test/runtests.jl @@ -1 +1,4 @@ +using SafeTestsets +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file diff --git a/lib/OrdinaryDiffEqVerner/Project.toml b/lib/OrdinaryDiffEqVerner/Project.toml index 28447ca2d6..2d698ed610 100644 --- a/lib/OrdinaryDiffEqVerner/Project.toml +++ b/lib/OrdinaryDiffEqVerner/Project.toml @@ -35,12 +35,16 @@ Static = "1.1.1" Test = "<0.0.1, 1" TruncatedStacktraces = "1.4.0" julia = "1.10" +JET = "0.9.18, 0.10.4" +Aqua = "0.8.11" [extras] DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" [targets] -test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test"] +test = ["DiffEqDevTools", "Random", "SafeTestsets", "Test", "JET", "Aqua"] diff --git a/lib/OrdinaryDiffEqVerner/test/jet.jl b/lib/OrdinaryDiffEqVerner/test/jet.jl new file mode 100644 index 0000000000..53c789473c --- /dev/null +++ b/lib/OrdinaryDiffEqVerner/test/jet.jl @@ -0,0 +1,7 @@ +import OrdinaryDiffEqVerner +using JET + +@testset "JET Tests" begin + test_package( + OrdinaryDiffEqVerner, target_defined_modules = true, mode = :typo) +end diff --git a/lib/OrdinaryDiffEqVerner/test/qa.jl b/lib/OrdinaryDiffEqVerner/test/qa.jl new file mode 100644 index 0000000000..1c75b70af1 --- /dev/null +++ b/lib/OrdinaryDiffEqVerner/test/qa.jl @@ -0,0 +1,8 @@ +using OrdinaryDiffEqVerner +using Aqua + +@testset "Aqua" begin + Aqua.test_all( + OrdinaryDiffEqVerner + ) +end \ No newline at end of file diff --git a/lib/OrdinaryDiffEqVerner/test/runtests.jl b/lib/OrdinaryDiffEqVerner/test/runtests.jl index 8b13789179..f971e6442f 100644 --- a/lib/OrdinaryDiffEqVerner/test/runtests.jl +++ b/lib/OrdinaryDiffEqVerner/test/runtests.jl @@ -1 +1,4 @@ +using SafeTestsets +@time @safetestset "JET Tests" include("jet.jl") +@time @safetestset "Aqua" include("qa.jl") \ No newline at end of file