@@ -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,24 +527,21 @@ set(tests_root ${CMAKE_CURRENT_BINARY_DIR}/src/tests)
528
527
529
528
530
529
if (opencoarrays_aware_compiler )
530
+ if (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} )
531
+ message ( STATUS "Running Developer tests is enabled." )
532
+ endif ()
531
533
# Unit tests targeting each libcaf_mpi function, argument, and branch of code
532
534
add_mpi_test (initialize_mpi 2 ${tests_root} /unit/init_register/initialize_mpi )
533
535
add_mpi_test (register 2 ${tests_root} /unit/init_register/register )
534
536
add_mpi_test (register_vector 2 ${tests_root} /unit/init_register/register_vector )
535
537
add_mpi_test (register_alloc_vector 2 ${tests_root} /unit/init_register/register_alloc_vector )
536
538
add_mpi_test (allocate_as_barrier 2 ${tests_root} /unit/init_register/allocate_as_barrier )
537
- 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 )
538
540
if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7 ))
539
541
add_mpi_test (register_alloc_comp_1 2 ${tests_root} /unit/init_register/register_alloc_comp_1 )
540
542
add_mpi_test (register_alloc_comp_2 2 ${tests_root} /unit/init_register/register_alloc_comp_2 )
541
543
add_mpi_test (register_alloc_comp_3 2 ${tests_root} /unit/init_register/register_alloc_comp_3 )
542
- if (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} )
543
- message ( STATUS "Running Developer tests is enabled." )
544
- add_mpi_test (async_comp_alloc 6 ${tests_root} /unit/init_register/async_comp_alloc )
545
- # Timeout async_comp_alloc test after 3 seconds to progess past the known failure
546
- set_property (TEST async_comp_alloc PROPERTY TIMEOUT_AFTER_MATCH 3 "known failure" )
547
- set_property (TEST async_comp_alloc PROPERTY TIMEOUT 6 ) # in the event old CMake is being used
548
- endif ()
544
+ add_mpi_test (async_comp_alloc 6 ${tests_root} /unit/init_register/async_comp_alloc )
549
545
endif ()
550
546
add_mpi_test (get_array 2 ${tests_root} /unit/send-get/get_array )
551
547
add_mpi_test (get_self 2 ${tests_root} /unit/send-get/get_self )
@@ -558,16 +554,16 @@ if(opencoarrays_aware_compiler)
558
554
add_mpi_test (co_broadcast 4 ${tests_root} /unit/collectives/co_broadcast_test )
559
555
add_mpi_test (co_min 4 ${tests_root} /unit/collectives/co_min_test )
560
556
add_mpi_test (co_max 4 ${tests_root} /unit/collectives/co_max_test )
561
- add_mpi_test (syncall 32 ${tests_root} /unit/sync/syncall )
562
- add_mpi_test (syncimages 32 ${tests_root} /unit/sync/syncimages )
563
- 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 )
564
560
add_mpi_test (duplicate_syncimages 8 ${tests_root} /unit/sync/duplicate_syncimages )
565
561
add_mpi_test (co_reduce 4 ${tests_root} /unit/collectives/co_reduce_test )
566
562
add_mpi_test (co_reduce_res_im 4 ${tests_root} /unit/collectives/co_reduce_res_im )
567
- 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 )
568
564
add_mpi_test (sync_ring_abort_np3 3 ${tests_root} /unit/sync/sync_image_ring_abort_on_stopped_image )
569
565
add_mpi_test (sync_ring_abort_np7 7 ${tests_root} /unit/sync/sync_image_ring_abort_on_stopped_image )
570
- add_mpi_test (simpleatomics 32 ${tests_root} /unit/simple/atomics )
566
+ add_mpi_test (simpleatomics 8 ${tests_root} /unit/simple/atomics )
571
567
# possible logic error in the following test
572
568
# add_mpi_test(increment_my_neighbor 32 ${tests_root}/unit/simple/increment_my_neighbor)
573
569
0 commit comments