Skip to content

Commit 43c56cc

Browse files
committed
test: try fixing more mac tests
1 parent 8264489 commit 43c56cc

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

test/23_test_problems_tests.jl

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,11 @@ end
120120
broken_tests = Dict(alg => Int[] for alg in alg_ops)
121121
broken_tests[alg_ops[1]] = [1, 2, 3, 5, 21]
122122
if Sys.isapple()
123-
broken_tests[alg_ops[2]] = [1, 2, 3, 5, 6, 21]
123+
if VERSION v"1.11-"
124+
broken_tests[alg_ops[2]] = [1, 2, 3, 5, 6, 11, 21]
125+
else
126+
broken_tests[alg_ops[2]] = [1, 2, 3, 5, 6, 21]
127+
end
124128
else
125129
broken_tests[alg_ops[2]] = [1, 2, 3, 5, 6, 11, 21]
126130
end
@@ -143,11 +147,16 @@ end
143147
if Sys.isapple()
144148
broken_tests[alg_ops[1]] = [1, 5, 11]
145149
broken_tests[alg_ops[3]] = [1, 5, 6, 9, 11]
150+
if VERSION v"1.11-"
151+
broken_tests[alg_ops[5]] = [1, 4, 5, 11]
152+
else
153+
broken_tests[alg_ops[5]] = [1, 5, 11]
154+
end
146155
else
147156
broken_tests[alg_ops[1]] = [1, 5, 11, 15]
148157
broken_tests[alg_ops[3]] = [1, 5, 9, 11, 16]
158+
broken_tests[alg_ops[5]] = [1, 5, 11]
149159
end
150-
broken_tests[alg_ops[5]] = [1, 5, 11]
151160

152161
test_on_library(problems, dicts, alg_ops, broken_tests, Sys.isapple() ? 1e-3 : 1e-4)
153162
end

test/wrappers/least_squares_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ end
8383

8484
push!(solvers, FastLevenbergMarquardtJL(linsolve; autodiff))
8585
end
86-
if Sys.isapple()
86+
if !Sys.isapple()
8787
for method in (:auto, :lm, :lmdif)
8888
push!(solvers, CMINPACK(; method))
8989
end

0 commit comments

Comments
 (0)