@@ -9,7 +9,6 @@ set_property ( CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_CONFIGURATION_TYP
99# Add option and check environment to determine if developer tests should be run
1010if ($ENV{OPENCOARRAYS_DEVELOPER} )
1111 option (CAF_RUN_DEVELOPER_TESTS "Run tests intended only for developers" ON )
12- message ( STATUS "OpenCoarrays developer tests turned on" )
1312else ()
1413 option (CAF_RUN_DEVELOPER_TESTS "Run tests intended only for developers" OFF )
1514endif ()
@@ -528,7 +527,7 @@ set(tests_root ${CMAKE_CURRENT_BINARY_DIR}/src/tests)
528527
529528
530529if (opencoarrays_aware_compiler)
531- if (RUN_DEVELOPER_TESTS )
530+ if (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} )
532531 message ( STATUS "Running Developer tests is enabled." )
533532 endif ()
534533 # Unit tests targeting each libcaf_mpi function, argument, and branch of code
@@ -537,7 +536,7 @@ if(opencoarrays_aware_compiler)
537536 add_mpi_test(register_vector 2 ${tests_root} /unit/init_register/register_vector)
538537 add_mpi_test(register_alloc_vector 2 ${tests_root} /unit/init_register/register_alloc_vector)
539538 add_mpi_test(allocate_as_barrier 2 ${tests_root} /unit/init_register/allocate_as_barrier)
540- 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)
541540 if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7))
542541 add_mpi_test(register_alloc_comp_1 2 ${tests_root} /unit/init_register/register_alloc_comp_1)
543542 add_mpi_test(register_alloc_comp_2 2 ${tests_root} /unit/init_register/register_alloc_comp_2)
@@ -555,16 +554,16 @@ if(opencoarrays_aware_compiler)
555554 add_mpi_test(co_broadcast 4 ${tests_root} /unit/collectives/co_broadcast_test)
556555 add_mpi_test(co_min 4 ${tests_root} /unit/collectives/co_min_test)
557556 add_mpi_test(co_max 4 ${tests_root} /unit/collectives/co_max_test)
558- add_mpi_test(syncall 32 ${tests_root} /unit/sync/syncall)
559- add_mpi_test(syncimages 32 ${tests_root} /unit/sync/syncimages)
560- 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)
561560 add_mpi_test(duplicate_syncimages 8 ${tests_root} /unit/sync/duplicate_syncimages)
562561 add_mpi_test(co_reduce 4 ${tests_root} /unit/collectives/co_reduce_test)
563562 add_mpi_test(co_reduce_res_im 4 ${tests_root} /unit/collectives/co_reduce_res_im)
564- 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)
565564 add_mpi_test(sync_ring_abort_np3 3 ${tests_root} /unit/sync/sync_image_ring_abort_on_stopped_image)
566565 add_mpi_test(sync_ring_abort_np7 7 ${tests_root} /unit/sync/sync_image_ring_abort_on_stopped_image)
567- add_mpi_test(simpleatomics 32 ${tests_root} /unit/simple/atomics)
566+ add_mpi_test(simpleatomics 8 ${tests_root} /unit/simple/atomics)
568567 # possible logic error in the following test
569568# add_mpi_test(increment_my_neighbor 32 ${tests_root}/unit/simple/increment_my_neighbor)
570569
0 commit comments