Skip to content

Commit 13f663f

Browse files
committed
ensure each test is finalized
1 parent 56aa9b0 commit 13f663f

25 files changed

+25
-0
lines changed

test/test_allgather.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ for typ in Base.uniontypes(MPI.MPIDatatype)
5151
end
5252

5353
MPI.Finalize()
54+
@test MPI.Finalized()

test/test_allgatherv.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ for typ in Base.uniontypes(MPI.MPIDatatype)
4747
end
4848

4949
MPI.Finalize()
50+
@test MPI.Finalized()

test/test_allreduce.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@ end
5454

5555
MPI.Barrier( MPI.COMM_WORLD )
5656
MPI.Finalize()
57+
@test MPI.Finalized()

test/test_alltoall.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ for typ in Base.uniontypes(MPI.MPIDatatype)
2828
end
2929

3030
MPI.Finalize()
31+
@test MPI.Finalized()

test/test_alltoallv.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ for typ in Base.uniontypes(MPI.MPIDatatype)
3737
end
3838

3939
MPI.Finalize()
40+
@test MPI.Finalized()

test/test_bcast.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ B = MPI.bcast(B, root, comm)
5959
@test B["foo"] == "bar"
6060

6161
MPI.Finalize()
62+
@test MPI.Finalized()

test/test_cart_coords.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ coords = MPI.Cart_coords!(comm_cart, ndims)
2222
@test all(coords .< dims)
2323

2424
MPI.Finalize()
25+
@test MPI.Finalized()

test/test_cart_create.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ comm_cart2 = MPI.Cart_create(comm, dims, periods, reorder)
1919
@test MPI.Comm_size(comm_cart2) == nnodes
2020

2121
MPI.Finalize()
22+
@test MPI.Finalized()

test/test_cart_shift.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ for i in 0:2
1919
end
2020

2121
MPI.Finalize()
22+
@test MPI.Finalized()

test/test_comm.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ MPI.Barrier(comm3)
1414
# Don't free comm2
1515

1616
MPI.Finalize()
17+
@test MPI.Finalized()

0 commit comments

Comments
 (0)