Skip to content

Commit 8ef3210

Browse files
committed
Add assertion to async_com_alloc_2 for minimum img
- Thanks to @jbmaggard for pointing this out in #435
1 parent e8b917a commit 8ef3210

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tests/unit/init_register/async_comp_alloc_2.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ program async_comp_alloc_2
1111

1212
sync all
1313

14+
if ( num_images() < 2 ) error stop "Test async_comp_alloc_2 requires at least 2 images to run"
15+
1416
associate(me => this_image())
1517
if (me == 2) then
1618
allocate(parent_obj%arr(3))

0 commit comments

Comments
 (0)