Skip to content

Commit 27dc8d9

Browse files
revert changes to runtests
1 parent 4e5a9df commit 27dc8d9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/runtests.jl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using LinearAlgebra, ForwardDiff, SparseArrays, Test
1+
using LinearAlgebra, SparseArrays, Test
22
using SparseMatrixColorings
33
using JET
44
using ADNLPModels, ManualNLPModels, NLPModels, NLPModelsModifiers, NLPModelsTest
@@ -21,21 +21,21 @@ using ADNLPModels:
2121
end
2222

2323
@testset "Test using a NLPModel instead of AD-backend" begin
24-
#include("manual.jl")
24+
include("manual.jl")
2525
end
2626

27-
#include("sparse_jacobian.jl")
28-
#include("sparse_jacobian_nls.jl")
29-
#include("sparse_hessian.jl")
30-
#include("sparse_hessian_nls.jl")
27+
include("sparse_jacobian.jl")
28+
include("sparse_jacobian_nls.jl")
29+
include("sparse_hessian.jl")
30+
include("sparse_hessian_nls.jl")
3131

3232
list_sparse_jac_backend =
3333
((ADNLPModels.SparseADJacobian, Dict()), (ADNLPModels.ForwardDiffADJacobian, Dict()))
3434

3535
@testset "Sparse Jacobian" begin
3636
for (backend, kw) in list_sparse_jac_backend
37-
#sparse_jacobian(backend, kw)
38-
#sparse_jacobian_nls(backend, kw)
37+
sparse_jacobian(backend, kw)
38+
sparse_jacobian_nls(backend, kw)
3939
end
4040
end
4141

@@ -58,8 +58,8 @@ list_sparse_hess_backend = (
5858

5959
@testset "Sparse Hessian" begin
6060
for (backend, kw) in list_sparse_hess_backend
61-
#sparse_hessian(backend, kw)
62-
#sparse_hessian_nls(backend, kw)
61+
sparse_hessian(backend, kw)
62+
sparse_hessian_nls(backend, kw)
6363
end
6464
end
6565

@@ -79,14 +79,14 @@ include("nls/nlpmodelstest.jl")
7979
@testset "Basic NLP tests using $backend " for backend in keys(ADNLPModels.predefined_backend)
8080
(backend == :zygote) && continue
8181
(backend == :enzyme) && continue
82-
#test_autodiff_model("$backend", backend = backend)
82+
test_autodiff_model("$backend", backend = backend)
8383
end
8484

8585
@testset "Checking NLPModelsTest (NLP) tests with $backend" for backend in
8686
keys(ADNLPModels.predefined_backend)
8787
(backend == :zygote) && continue
8888
(backend == :enzyme) && continue
89-
#nlp_nlpmodelstest(backend)
89+
nlp_nlpmodelstest(backend)
9090
end
9191

9292
@testset "Basic NLS tests using $backend " for backend in keys(ADNLPModels.predefined_backend)

0 commit comments

Comments
 (0)