This commit is contained in:
Dennis Heimbigner 2024-04-17 19:45:03 -06:00
parent 55d14d633e
commit 042dc4a236

View File

@ -769,7 +769,11 @@ if(NETCDF_ENABLE_TESTS)
set(HOSTNAME_ARG "-s")
endif()
if(HOSTNAME_CMD)
if(FALSE)
execute_process(COMMAND ${HOSTNAME_CMD} "${HOSTNAME_ARG}" OUTPUT_VARIABLE HOSTNAME OUTPUT_STRIP_TRAILING_WHITESPACE)
else()
set(HOSTNAME "blackbird")
endif()
set(NC_CTEST_SITE "${HOSTNAME}" CACHE STRING "Hostname of test machine.")
endif()