Skip to content

Commit 84ac249

Browse files
committed
Reduce amount of test oversubscription
CMake/CTest 3.2 (and possibly later versions) has a bug in which the CTest output buffer can get flooded, and miss the pass regex. When building a debug build we don't want to turn off debug output, OR make the tests fail, so a less aggressive over subscription may be the only appropriate solution.
1 parent f6ae815 commit 84ac249

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ if(opencoarrays_aware_compiler)
536536
add_mpi_test(register_vector 2 ${tests_root}/unit/init_register/register_vector)
537537
add_mpi_test(register_alloc_vector 2 ${tests_root}/unit/init_register/register_alloc_vector)
538538
add_mpi_test(allocate_as_barrier 2 ${tests_root}/unit/init_register/allocate_as_barrier)
539-
add_mpi_test(allocate_as_barrier_proc 32 ${tests_root}/unit/init_register/allocate_as_barrier_proc)
539+
add_mpi_test(allocate_as_barrier_proc 8 ${tests_root}/unit/init_register/allocate_as_barrier_proc)
540540
if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7))
541541
add_mpi_test(register_alloc_comp_1 2 ${tests_root}/unit/init_register/register_alloc_comp_1)
542542
add_mpi_test(register_alloc_comp_2 2 ${tests_root}/unit/init_register/register_alloc_comp_2)
@@ -554,16 +554,16 @@ if(opencoarrays_aware_compiler)
554554
add_mpi_test(co_broadcast 4 ${tests_root}/unit/collectives/co_broadcast_test)
555555
add_mpi_test(co_min 4 ${tests_root}/unit/collectives/co_min_test)
556556
add_mpi_test(co_max 4 ${tests_root}/unit/collectives/co_max_test)
557-
add_mpi_test(syncall 32 ${tests_root}/unit/sync/syncall)
558-
add_mpi_test(syncimages 32 ${tests_root}/unit/sync/syncimages)
559-
add_mpi_test(syncimages2 32 ${tests_root}/unit/sync/syncimages2)
557+
add_mpi_test(syncall 8 ${tests_root}/unit/sync/syncall)
558+
add_mpi_test(syncimages 8 ${tests_root}/unit/sync/syncimages)
559+
add_mpi_test(syncimages2 8 ${tests_root}/unit/sync/syncimages2)
560560
add_mpi_test(duplicate_syncimages 8 ${tests_root}/unit/sync/duplicate_syncimages)
561561
add_mpi_test(co_reduce 4 ${tests_root}/unit/collectives/co_reduce_test)
562562
add_mpi_test(co_reduce_res_im 4 ${tests_root}/unit/collectives/co_reduce_res_im)
563-
add_mpi_test(syncimages_status 32 ${tests_root}/unit/sync/syncimages_status)
563+
add_mpi_test(syncimages_status 8 ${tests_root}/unit/sync/syncimages_status)
564564
add_mpi_test(sync_ring_abort_np3 3 ${tests_root}/unit/sync/sync_image_ring_abort_on_stopped_image)
565565
add_mpi_test(sync_ring_abort_np7 7 ${tests_root}/unit/sync/sync_image_ring_abort_on_stopped_image)
566-
add_mpi_test(simpleatomics 32 ${tests_root}/unit/simple/atomics)
566+
add_mpi_test(simpleatomics 8 ${tests_root}/unit/simple/atomics)
567567
# possible logic error in the following test
568568
# add_mpi_test(increment_my_neighbor 32 ${tests_root}/unit/simple/increment_my_neighbor)
569569

0 commit comments

Comments
 (0)