From 1da302820622702317b67201c9167d294b644242 Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Tue, 25 Nov 2025 13:14:49 -0500 Subject: [PATCH] Separate out tests for the GPL build and do not run them when GPL libs are not present (#658) Fix #655 The tests marked broken in this PR seem to be an unfortunate regression that doesn't have to do with this PR. @jishnub This seems to have to do with methods that multiply a SparseMatrixCSC with a Diagonal and the behaviour seems right in 1.10, but not in 1.11 and 1.12. --------- Co-authored-by: Viral B. Shah --- test/runtests.jl | 17 +++++++++++++---- test/testgroups | 12 ------------ 2 files changed, 13 insertions(+), 16 deletions(-) delete mode 100644 test/testgroups diff --git a/test/runtests.jl b/test/runtests.jl index 3eb1de97..69d0970a 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -5,13 +5,22 @@ if Base.get_bool_env("SPARSEARRAYS_AQUA_TEST", false) include("ambiguous.jl") end -for file in readlines(joinpath(@__DIR__, "testgroups")) - file == "" && continue # skip empty lines - include(file * ".jl") -end +include("allowscalar.jl") +include("fixed.jl") +include("higherorderfns.jl") +include("sparsematrix_constructors_indexing.jl") +include("sparsematrix_ops.jl") +include("sparsevector.jl") +include("issues.jl") if Base.USE_GPL_LIBS + include("cholmod.jl") + include("umfpack.jl") + include("spqr.jl") + include("linalg.jl") + include("linalg_solvers.jl") + nt = @static if isdefined(Threads, :maxthreadid) Threads.maxthreadid() else diff --git a/test/testgroups b/test/testgroups deleted file mode 100644 index a547762c..00000000 --- a/test/testgroups +++ /dev/null @@ -1,12 +0,0 @@ -allowscalar -cholmod -fixed -higherorderfns -issues -linalg -linalg_solvers -sparsematrix_constructors_indexing -sparsematrix_ops -sparsevector -spqr -umfpack