@@ -9,7 +9,6 @@ set_property ( CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_CONFIGURATION_TYP
9
9
# Add option and check environment to determine if developer tests should be run
10
10
if ($ENV{OPENCOARRAYS_DEVELOPER} )
11
11
option (CAF_RUN_DEVELOPER_TESTS "Run tests intended only for developers" ON )
12
- message ( STATUS "OpenCoarrays developer tests turned on" )
13
12
else ()
14
13
option (CAF_RUN_DEVELOPER_TESTS "Run tests intended only for developers" OFF )
15
14
endif ()
@@ -528,7 +527,7 @@ set(tests_root ${CMAKE_CURRENT_BINARY_DIR}/src/tests)
528
527
529
528
530
529
if (opencoarrays_aware_compiler )
531
- if (RUN_DEVELOPER_TESTS )
530
+ if (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} )
532
531
message ( STATUS "Running Developer tests is enabled." )
533
532
endif ()
534
533
# Unit tests targeting each libcaf_mpi function, argument, and branch of code
@@ -537,7 +536,7 @@ if(opencoarrays_aware_compiler)
537
536
add_mpi_test (register_vector 2 ${tests_root} /unit/init_register/register_vector )
538
537
add_mpi_test (register_alloc_vector 2 ${tests_root} /unit/init_register/register_alloc_vector )
539
538
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 )
541
540
if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7 ))
542
541
add_mpi_test (register_alloc_comp_1 2 ${tests_root} /unit/init_register/register_alloc_comp_1 )
543
542
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)
555
554
add_mpi_test (co_broadcast 4 ${tests_root} /unit/collectives/co_broadcast_test )
556
555
add_mpi_test (co_min 4 ${tests_root} /unit/collectives/co_min_test )
557
556
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 )
561
560
add_mpi_test (duplicate_syncimages 8 ${tests_root} /unit/sync/duplicate_syncimages )
562
561
add_mpi_test (co_reduce 4 ${tests_root} /unit/collectives/co_reduce_test )
563
562
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 )
565
564
add_mpi_test (sync_ring_abort_np3 3 ${tests_root} /unit/sync/sync_image_ring_abort_on_stopped_image )
566
565
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 )
568
567
# possible logic error in the following test
569
568
# add_mpi_test(increment_my_neighbor 32 ${tests_root}/unit/simple/increment_my_neighbor)
570
569
0 commit comments