Skip to content

Commit 6e4e726

Browse files
author
Johannes Markert
committed
Refining test.
1 parent b186ba1 commit 6e4e726

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test_forestwrapper.jl

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# Clean up t8code before MPI shuts down.
44
MPI.add_finalize_hook!() do
55
T8code.clean_up()
6-
T8code.Libt8.sc_finalize()
6+
status = T8code.Libt8.sc_finalize_noabort()
7+
# If the following test fails the allocated objects were not cleaned up
8+
# properly before shutting down.
9+
@test status == 0
710
end
811

912
# Create a forest and wrap by `ForestWrapper`

0 commit comments

Comments
 (0)