Skip to content

Commit 8b03562

Browse files
authored
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 <ViralBShah@users.noreply.github.com>
1 parent 6313356 commit 8b03562

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

test/runtests.jl

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,22 @@ if Base.get_bool_env("SPARSEARRAYS_AQUA_TEST", false)
77
include("ambiguous.jl")
88
end
99

10-
for file in readlines(joinpath(@__DIR__, "testgroups"))
11-
file == "" && continue # skip empty lines
12-
include(file * ".jl")
13-
end
10+
include("allowscalar.jl")
11+
include("fixed.jl")
12+
include("higherorderfns.jl")
13+
include("sparsematrix_constructors_indexing.jl")
14+
include("sparsematrix_ops.jl")
15+
include("sparsevector.jl")
16+
include("issues.jl")
1417

1518
if Base.USE_GPL_LIBS
1619

20+
include("cholmod.jl")
21+
include("umfpack.jl")
22+
include("spqr.jl")
23+
include("linalg.jl")
24+
include("linalg_solvers.jl")
25+
1726
nt = @static if isdefined(Threads, :maxthreadid)
1827
Threads.maxthreadid()
1928
else

test/testgroups

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)