This commit is contained in:
Dennis Heimbigner 2024-04-28 13:30:46 -06:00
parent fa882d451a
commit f8976ad7b9

View File

@ -769,11 +769,7 @@ 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()