From 2b6dc2db74496a20455ca3a37ea9de5c2dd47f91 Mon Sep 17 00:00:00 2001 From: Michel Schanen Date: Wed, 8 Nov 2023 11:36:57 -0600 Subject: [PATCH] Mark MPI test as broken --- test/Project.toml | 1 + test/runtests.jl | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index 797d4c384e..ede50425b7 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -10,6 +10,7 @@ LLVM = "929cbde3-209d-540e-8aea-75f648917ca0" LLVM_jll = "86de99a1-58d6-5da7-8064-bd56ce2e322c" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195" +Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" diff --git a/test/runtests.jl b/test/runtests.jl index 5ed0be8d0b..cfcf862d1f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -2387,11 +2387,16 @@ end @testset "MPI" begin testdir = @__DIR__ # Test parsing - include("mpi.jl") - mpiexec() do cmd - run(`$cmd -n 2 $(Base.julia_cmd()) --project=$testdir $testdir/mpi.jl`) + try + include("mpi.jl") + mpiexec() do cmd + run(`$cmd -n 2 $(Base.julia_cmd()) --project=$testdir $testdir/mpi.jl`) + end + mpi_test = true + catch + mpi_test = false end - @test true + @test_broken mpi_test end