Skip to content

Commit

Permalink
Updating CMakeLists.txt to display detailed messages
Browse files Browse the repository at this point in the history
  • Loading branch information
BijuThomas-NOAA committed Apr 8, 2024
1 parent 16f392e commit 0fa0d49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions regression/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ find_program(GSICONTROLEXEC
if (GSICONTROLEXEC)
message(STATUS "RT: Control GSIexec Found: ${GSICONTROLEXEC}")
else()
message(WARNING "RT: Control GSIexec Not Found, GSI Regression Tests Disabled!")
message(VERBOSE "RT: Control GSIexec Not Found, GSI Regression Tests Disabled!")
endif()

find_program(ENKFCONTROLEXEC
Expand All @@ -26,12 +26,12 @@ find_program(ENKFCONTROLEXEC
if (ENKFCONTROLEXEC)
message(STATUS "RT: Control EnKFexec Found: ${ENKFCONTROLEXEC}")
else()
message(WARNING "RT: Control EnKFexec Not Found, EnKF Regression Tests Disabled!")
message(VERBOSE "RT: Control EnKFexec Not Found, EnKF Regression Tests Disabled!")
endif()

# If neither are found, nothing to do; simply return
if(NOT (GSICONTROLEXEC AND ENKFCONTROLEXEC))
message(WARNING "RT: Unable to find Control Executables. Regression Tests Disabled!")
message(VERBOSE "RT: Unable to find Control Executables. Regression Tests Disabled!")
set(BUILD_REG_TESTING OFF CACHE BOOL "Regression testing disabled" FORCE)
return()
endif()
Expand Down

0 comments on commit 0fa0d49

Please sign in to comment.