diff --git a/test/integration_testing/enzyme/runtests.jl b/test/integration_testing/enzyme/runtests.jl new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/test/integration_testing/enzyme/runtests.jl @@ -0,0 +1 @@ + diff --git a/test/models/models.jl b/test/models/models.jl new file mode 100644 index 00000000..37d2fff4 --- /dev/null +++ b/test/models/models.jl @@ -0,0 +1,15 @@ + +using PDMats + +# Models for Inference Tests +struct TestModel{M,L,S,SC} + model::M + μ_true::L + L_true::S + n_dims::Int + strong_convexity::SC + is_meanfield::Bool +end + +include("models/normal.jl") +include("models/normallognormal.jl") diff --git a/test/runtests.jl b/test/runtests.jl index 8e0cbc11..8b9dba6b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -10,7 +10,6 @@ using FillArrays using LinearAlgebra using LogDensityProblems using Optimisers -using PDMats using Pkg using Random, StableRNGs using Statistics @@ -27,17 +26,7 @@ using AdvancedVI const TEST_GROUP = get(ENV, "TEST_GROUP", "All") -# Models for Inference Tests -struct TestModel{M,L,S,SC} - model::M - μ_true::L - L_true::S - n_dims::Int - strong_convexity::SC - is_meanfield::Bool -end -include("models/normal.jl") -include("models/normallognormal.jl") +include("models/models.jl") if TEST_GROUP == "All" || TEST_GROUP == "Interface" # Interface tests that do not involve testing on Enzyme