diff --git a/Project.toml b/Project.toml index 07e3bb1a..39c3e57f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PETSc" uuid = "ace2c81b-2b5f-4b1e-a30d-d662738edfe0" authors = ["Simon Byrne "] -version = "0.3.0" +version = "0.3.1" [deps] Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb" @@ -9,6 +9,7 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" MPIPreferences = "3da0fdf6-3ccc-4f1b-acd9-58baa6c99267" PETSc_jll = "8fa3689e-f0b9-5420-9873-adf6ccf46f2d" +Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" [compat] diff --git a/test/options.jl b/test/options.jl index 8c0d6724..d35f6bc4 100644 --- a/test/options.jl +++ b/test/options.jl @@ -87,7 +87,11 @@ end @testset "parse_options tests" begin @test begin + julia = joinpath(Sys.BINDIR, Base.julia_exename()) + # Force packages to be installed + run(`$(julia) --startup-file=no --project -e "using Pkg; Pkg.instantiate()" `) + run(`$(julia) --startup-file=no --project -e "using PETSc using Test opts = PETSc.parse_options(ARGS) diff --git a/test/runtests.jl b/test/runtests.jl index 06baaa08..28b8a23e 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,7 +1,9 @@ using Test using MPI: MPI, mpiexec -using PETSc, PETSc_jll +using PETSc, PETSc_jll, Pkg +# Make sure that all dependencies are installed also on a clean system +Pkg.instantiate() import MPIPreferences @info "Testing PETSc.jl with" MPIPreferences.binary MPIPreferences.abi PETSc_jll.host_platform