mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
ckp
This commit is contained in:
parent
55d14d633e
commit
042dc4a236
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user