File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -660,12 +660,14 @@ if(opencoarrays_aware_compiler)
660
660
# Pure send tests
661
661
add_caf_test (send_array 2 send_array )
662
662
add_caf_test (send_convert_char_array 2 send_convert_char_array )
663
- add_caf_test (send_convert_nums 2 send_convert_nums )
664
663
665
664
# Pure sendget tests
666
- add_caf_test (sendget_convert_nums 3 sendget_convert_nums )
667
665
add_caf_test (sendget_convert_char_array 3 sendget_convert_char_array )
668
666
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 ()
669
671
670
672
add_caf_test (co_sum 4 co_sum_test )
671
673
add_caf_test (co_broadcast 4 co_broadcast_test )
Original file line number Diff line number Diff line change @@ -14,14 +14,24 @@ caf_compile_executable(get_with_vector_index get_with_vector_index.f90)
14
14
15
15
## Pure send() tests
16
16
caf_compile_executable (send_array send_array_test.f90 )
17
- caf_compile_executable (send_convert_nums send_convert_nums.f90 )
18
17
caf_compile_executable (send_convert_char_array send_convert_char_array.f90 )
19
18
caf_compile_executable (send_with_vector_index send_with_vector_index.f90 )
20
19
21
20
# Pure sendget() tests
22
- caf_compile_executable (sendget_convert_nums sendget_convert_nums.f90 )
23
21
caf_compile_executable (sendget_convert_char_array sendget_convert_char_array.f90 )
24
22
#caf_compile_executable(sendget_with_vector_index sendget_with_vector_index.f90)
25
23
caf_compile_executable (strided_sendget strided_sendget.f90 )
26
24
set_target_properties (build_strided_sendget
27
25
PROPERTIES MIN_IMAGES 3 )
26
+
27
+ if (gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.3.0 ))
28
+ caf_compile_executable (sendget_convert_nums sendget_convert_nums.f90 )
29
+ caf_compile_executable (send_convert_nums send_convert_nums.f90 )
30
+ elseif ((CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER} ))
31
+ message ( AUTHOR_WARNING
32
+ "Skipping building the following tests due to GFortran < 7.3.0 lack of compatibility:
33
+ sendget_convert_nums.f90"
34
+ )
35
+
36
+ endif ()
37
+
You can’t perform that action at this time.
0 commit comments