@@ -644,8 +644,27 @@ if(opencoarrays_aware_compiler)
644
644
add_caf_test (async_comp_alloc_2 2 async_comp_alloc_2 )
645
645
add_caf_test (comp_allocated_1 2 comp_allocated_1 )
646
646
add_caf_test (comp_allocated_2 2 comp_allocated_2 )
647
- add_caf_test (get_with_vector_index 4 get_with_vector_index )
648
- add_caf_test (send_with_vector_index 2 send_with_vector_index )
647
+ endif ()
648
+
649
+
650
+ if (gfortran_compiler )
651
+ if ((NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0 ) OR (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ))
652
+ add_caf_test (send_convert_nums 2 send_convert_nums )
653
+ add_caf_test (sendget_convert_nums 3 sendget_convert_nums )
654
+ add_caf_test (sendget_convert_char_array 3 sendget_convert_char_array )
655
+
656
+ elseif ((NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.3.0 ) OR (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ))
657
+ add_caf_test (send_with_vector_index 2 send_with_vector_index )
658
+ add_caf_test (send_convert_char_array 2 send_convert_char_array )
659
+ else ()#if((CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER}))
660
+ message ( AUTHOR_WARNING "The following tests may be skipped due to GFortran < 7.3.0 or < 7.0.0 lack of compatibility:
661
+ sendget_convert_nums.f90 (>= 7.0.0)
662
+ sendget_convert_char_array.f90 (>= 7.0.0)
663
+ send_convert_nums.f90 (>= 7.0.0)
664
+ send_convert_char_array.f90 (>= 7.3.0)
665
+ send_with_vector_index.f90 (>= 7.3.0)"
666
+ )
667
+ endif ()
649
668
endif ()
650
669
651
670
# Pure get tests
@@ -659,15 +678,11 @@ if(opencoarrays_aware_compiler)
659
678
660
679
# Pure send tests
661
680
add_caf_test (send_array 2 send_array )
662
- add_caf_test (send_convert_char_array 2 send_convert_char_array )
663
681
664
682
# Pure sendget tests
665
- add_caf_test (sendget_convert_char_array 3 sendget_convert_char_array )
666
683
add_caf_test (strided_sendget 3 strided_sendget )
667
- if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.3.0 ))
668
- add_caf_test (sendget_convert_nums 3 sendget_convert_nums )
669
- add_caf_test (send_convert_nums 2 send_convert_nums )
670
- endif ()
684
+ add_caf_test (get_with_vector_index 4 get_with_vector_index )
685
+
671
686
672
687
add_caf_test (co_sum 4 co_sum_test )
673
688
add_caf_test (co_broadcast 4 co_broadcast_test )
@@ -690,7 +705,7 @@ if(opencoarrays_aware_compiler)
690
705
# Integration tests verifying the use of libcaf_mpi in applications
691
706
add_caf_test (hello_multiverse 2 hello_multiverse )
692
707
add_caf_test (coarray_burgers_pde 2 coarray_burgers_pde )
693
- # add_caf_test(co_heat 2 co_heat)
708
+ add_caf_test (co_heat 2 co_heat )
694
709
add_caf_test (asynchronous_hello_world 3 asynchronous_hello_world )
695
710
696
711
# Regression tests based on reported issues
@@ -703,10 +718,14 @@ if(opencoarrays_aware_compiler)
703
718
endif ()
704
719
705
720
# Open GCC 7 regressions
706
- if ((CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ) OR (gfortran_compiler AND (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0 )))
721
+ if ((CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ) OR
722
+ (gfortran_compiler AND (
723
+ (CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0 ) OR
724
+ (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.3.0 )
725
+ )))
707
726
add_caf_test (convert-before-put 3 convert-before-put )
708
- add_caf_test (put-alloc -comp 2 issue-422-send )
709
- add_caf_test (get -put-alloc -comp 3 issue-422-send-get )
727
+ add_caf_test (put-allocatable-coarray -comp 2 issue-422-send )
728
+ add_caf_test (get -put-allocatable -comp 3 issue-422-send-get )
710
729
endif ()
711
730
712
731
add_caf_test (allocatable_p2p_event_post 4 allocatable_p2p_event_post )
0 commit comments