diff --git a/test/cholmod.jl b/test/cholmod.jl index 9c8208d9..604491dc 100644 --- a/test/cholmod.jl +++ b/test/cholmod.jl @@ -1,12 +1,12 @@ # This file is a part of Julia. License is MIT: https://julialang.org/license module CHOLMODTests +using Test @static if !Base.USE_GPL_LIBS @info "Not use GPL libs, Skipping CHOLMOD Tests" else -using Test using SparseArrays.CHOLMOD using SparseArrays.CHOLMOD: getcommon using Random diff --git a/test/linalg_solvers.jl b/test/linalg_solvers.jl index c49cb795..8ea66d63 100644 --- a/test/linalg_solvers.jl +++ b/test/linalg_solvers.jl @@ -1,12 +1,12 @@ # This file is a part of Julia. License is MIT: https://julialang.org/license module SparseLinalgSolversTests +using Test @static if !Base.USE_GPL_LIBS @info "Not use GPL libs, Skipping SparseLinalgSolvers Tests" else -using Test using SparseArrays using Random using LinearAlgebra diff --git a/test/spqr.jl b/test/spqr.jl index d7d5ce4e..49259a7a 100644 --- a/test/spqr.jl +++ b/test/spqr.jl @@ -1,12 +1,12 @@ # This file is a part of Julia. License is MIT: https://julialang.org/license module SPQRTests +using Test @static if !Base.USE_GPL_LIBS @info "Not use GPL libs, Skipping SPQR Tests" else -using Test using SparseArrays.SPQR using SparseArrays.CHOLMOD using LinearAlgebra: I, istriu, norm, qr, rank, rmul!, lmul!, Adjoint, Transpose, ColumnNorm, RowMaximum, NoPivot diff --git a/test/umfpack.jl b/test/umfpack.jl index 8f41df83..0ed531c7 100644 --- a/test/umfpack.jl +++ b/test/umfpack.jl @@ -1,12 +1,12 @@ # This file is a part of Julia. License is MIT: https://julialang.org/license module UMFPACKTests +using Test @static if !Base.USE_GPL_LIBS @info "Not use GPL libs, Skipping UMFPACK Tests" else -using Test using Random using SparseArrays using Serialization