Skip to content

Commit dd8442e

Browse files
committed
Rename CMake OpenCoarrays developer tests option
This will create better grouping in `ccmake` and `cmake-gui`
1 parent 0eb8345 commit dd8442e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ set_property ( CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_CONFIGURATION_TYP
88

99
# Add option and check environment to determine if developer tests should be run
1010
if($ENV{OPENCOARRAYS_DEVELOPER})
11-
option(RUN_DEVELOPER_TESTS "Run tests intended only for developers" ON)
11+
option(CAF_RUN_DEVELOPER_TESTS "Run tests intended only for developers" ON)
1212
else()
13-
option(RUN_DEVELOPER_TESTS "Run tests intended only for developers" OFF)
13+
option(CAF_RUN_DEVELOPER_TESTS "Run tests intended only for developers" OFF)
1414
endif()
15-
mark_as_advanced(RUN_DEVELOPER_TESTS)
15+
mark_as_advanced(CAF_RUN_DEVELOPER_TESTS)
1616

1717
if( NOT DEFINED ENV{OPENCOARRAYS_DEVELOPER})
1818
set ( ENV{OPENCOARRAYS_DEVELOPER} FALSE )
@@ -498,7 +498,7 @@ if(opencoarrays_aware_compiler)
498498
add_mpi_test(register_alloc_comp_1 2 ${tests_root}/unit/init_register/register_alloc_comp_1)
499499
add_mpi_test(register_alloc_comp_2 2 ${tests_root}/unit/init_register/register_alloc_comp_2)
500500
add_mpi_test(register_alloc_comp_3 2 ${tests_root}/unit/init_register/register_alloc_comp_3)
501-
if (RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER})
501+
if (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER})
502502
message ( STATUS "Running Developer tests is enabled." )
503503
add_mpi_test(async_comp_alloc 6 ${tests_root}/unit/init_register/async_comp_alloc)
504504
# Timeout async_comp_alloc test after 3 seconds to progess past the known failure
@@ -541,7 +541,7 @@ if(opencoarrays_aware_compiler)
541541
# GFortran PR 78505 only fixed on trunk/gcc 7
542542
add_mpi_test(source-alloc-no-sync 8 ${tests_root}/regression/reported/source-alloc-sync)
543543
endif()
544-
if (RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER})
544+
if (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER})
545545
add_mpi_test(convert-before-put 3 ${tests_root}/regression/reported/convert-before-put)
546546
endif()
547547
add_mpi_test(event-post 3 ${tests_root}/regression/reported/event-post)

0 commit comments

Comments
 (0)