Skip to content

Commit b5e80d8

Browse files
author
Damian Rouson
committed
run co_broadcast_alloc... test iff GCC ver>=10.0.0
1 parent ba786ff commit b5e80d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,9 @@ if(opencoarrays_aware_compiler)
806806
add_caf_test(co_sum 4 co_sum_test)
807807
add_caf_test(co_broadcast 4 co_broadcast_test)
808808
add_caf_test(co_broadcast_derived_type 4 co_broadcast_derived_type_test)
809-
add_caf_test(co_broadcast_allocatable_components 4 co_broadcast_allocatable_components_test)
809+
if((gfortran_compiler AND (NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 10.0.0)) OR (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER}))
810+
add_caf_test(co_broadcast_allocatable_components 4 co_broadcast_allocatable_components_test)
811+
endif()
810812
add_caf_test(co_min 4 co_min_test)
811813
add_caf_test(co_max 4 co_max_test)
812814
add_caf_test(co_reduce 4 co_reduce_test)

0 commit comments

Comments
 (0)