Skip to content

Commit 98ff84d

Browse files
Update basictests.jl
1 parent 124b541 commit 98ff84d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

test/basictests.jl

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,23 @@ end
202202
end
203203
end
204204

205-
@testset "Concrete Factorizations" begin
206-
for alg in (LUFactorization(),
205+
test_algs = if VERISON >= v"1.9"
206+
(LUFactorization(),
207207
QRFactorization(),
208208
SVDFactorization(),
209209
RFLUFactorization(),
210210
MKLLUFactorization(),
211211
LinearSolve.defaultalg(prob1.A, prob1.b))
212+
else
213+
(LUFactorization(),
214+
QRFactorization(),
215+
SVDFactorization(),
216+
RFLUFactorization(),
217+
LinearSolve.defaultalg(prob1.A, prob1.b))
218+
end
219+
220+
@testset "Concrete Factorizations" begin
221+
for alg in test_algs
212222
@testset "$alg" begin
213223
test_interface(alg, prob1, prob2)
214224
end

0 commit comments

Comments
 (0)