Skip to content

Commit b2e426c

Browse files
committed
set tests broken only for < 1.11
1 parent 87bc0c1 commit b2e426c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/nopre/jet.jl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ end
146146
# Test for Default alg choosing for DualLinear Problems
147147
# These should both produce a LinearCache
148148
alg = LinearSolve.DefaultLinearSolver(LinearSolve.DefaultAlgorithmChoice.GenericLUFactorization)
149-
JET.@test_opt init(dual_prob, alg)
150-
JET.@test_opt init(dual_prob)
149+
if VERSION < v"1.11"
150+
JET.@test_opt init(dual_prob, alg) broken=true
151+
JET.@test_opt init(dual_prob) broken=true
152+
else
153+
JET.@test_opt init(dual_prob, alg)
154+
JET.@test_opt init(dual_prob)
155+
end
151156
end

0 commit comments

Comments
 (0)