Skip to content

Commit eb67c22

Browse files
committed
test: remove segfault warning
1 parent 4354511 commit eb67c22

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

lib/NonlinearSolveQuasiNewton/test/core_tests.jl

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

194194
solver = LimitedMemoryBroyden(; linesearch)
195195
sol = solve_iip(quadratic_f!, u0; solver)
196-
@test SciMLBase.successful_retcode(sol)
196+
@test SciMLBase.successful_retcode(sol) broken=broken
197197
err = maximum(abs, quadratic_f(sol.u, 2.0))
198198
@test err<1e-9 broken=broken
199199

test/23_test_problems_tests.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,7 @@ end
6464
alg_ops = (SimpleHalley(; autodiff = AutoForwardDiff()),)
6565

6666
broken_tests = Dict(alg => Int[] for alg in alg_ops)
67-
if Sys.isapple()
68-
broken_tests[alg_ops[1]] = [1, 5, 11, 15, 16, 18]
69-
else
70-
broken_tests[alg_ops[1]] = [1, 5, 15, 16, 18]
71-
end
67+
broken_tests[alg_ops[1]] = [1, 5, 15, 16, 18]
7268

7369
test_on_library(problems, dicts, alg_ops, broken_tests)
7470
end

test/wrappers/rootfind_tests.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
end
4444
end
4545

46-
# Can lead to segfaults
4746
@testitem "Nonlinear Root Finding Problems" tags=[:wrappers] begin
4847
using LinearAlgebra
4948
import NLSolvers, NLsolve, SIAMFANLEquations, MINPACK, PETSc

0 commit comments

Comments
 (0)