Skip to content

Commit f6ae815

Browse files
committed
Update cmake info message for developer tests
- Option renamed: `RUN_DEVELOPER_TESTS` ==> `CAF_RUN_DEVELOPER_TESTS` - Tests now also run when `$ENV{OPENCOARRAYS_DEVELOPER}` evaluates to true
1 parent de47b0d commit f6ae815

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ set_property ( CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_CONFIGURATION_TYP
99
# Add option and check environment to determine if developer tests should be run
1010
if($ENV{OPENCOARRAYS_DEVELOPER})
1111
option(CAF_RUN_DEVELOPER_TESTS "Run tests intended only for developers" ON)
12-
message( STATUS "OpenCoarrays developer tests turned on")
1312
else()
1413
option(CAF_RUN_DEVELOPER_TESTS "Run tests intended only for developers" OFF)
1514
endif()
@@ -528,7 +527,7 @@ set(tests_root ${CMAKE_CURRENT_BINARY_DIR}/src/tests)
528527

529528

530529
if(opencoarrays_aware_compiler)
531-
if (RUN_DEVELOPER_TESTS)
530+
if (CAF_RUN_DEVELOPER_TESTS OR $ENV{OPENCOARRAYS_DEVELOPER})
532531
message ( STATUS "Running Developer tests is enabled." )
533532
endif()
534533
# Unit tests targeting each libcaf_mpi function, argument, and branch of code

0 commit comments

Comments
 (0)