mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Replace ENABLE_PARALLEL_TESTS with NETCDF_ENABLE_PARALLEL_TESTS
This commit is contained in:
parent
2baf0ba862
commit
f54f42db62
@ -951,15 +951,15 @@ if(ENABLE_ZERO_LENGTH_COORD_BOUND)
|
||||
endif()
|
||||
|
||||
# Enable Parallel Tests.
|
||||
option(ENABLE_PARALLEL_TESTS "Enable Parallel IO Tests. Requires HDF5/NetCDF4 with parallel I/O Support." "${HDF5_PARALLEL}")
|
||||
if(ENABLE_PARALLEL_TESTS AND USE_PARALLEL)
|
||||
option(NETCDF_ENABLE_PARALLEL_TESTS "Enable Parallel IO Tests. Requires HDF5/NetCDF4 with parallel I/O Support." "${HDF5_PARALLEL}")
|
||||
if(NETCDF_ENABLE_PARALLEL_TESTS AND USE_PARALLEL)
|
||||
set(TEST_PARALLEL ON CACHE BOOL "")
|
||||
if(USE_NETCDF4)
|
||||
set(TEST_PARALLEL4 ON CACHE BOOL "")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
IF (ENABLE_PARALLEL_TESTS AND NOT USE_PARALLEL)
|
||||
IF (NETCDF_ENABLE_PARALLEL_TESTS AND NOT USE_PARALLEL)
|
||||
message(FATAL_ERROR "Parallel tests requested, but no parallel HDF5 installation detected.")
|
||||
endif()
|
||||
|
||||
|
@ -241,7 +241,7 @@ macro(print_conf_summary)
|
||||
message(STATUS "DAP Remote Tests: ${NETCDF_ENABLE_DAP_REMOTE_TESTS}")
|
||||
message(STATUS "Extra Tests: ${NETCDF_ENABLE_EXTRA_TESTS}")
|
||||
message(STATUS "Coverage Tests: ${NETCDF_ENABLE_COVERAGE_TESTS}")
|
||||
message(STATUS "Parallel Tests: ${ENABLE_PARALLEL_TESTS}")
|
||||
message(STATUS "Parallel Tests: ${NETCDF_ENABLE_PARALLEL_TESTS}")
|
||||
message(STATUS "Large File Tests: ${NETCDF_ENABLE_LARGE_FILE_TESTS}")
|
||||
message(STATUS "Extreme Numbers: ${NETCDF_ENABLE_EXTREME_NUMBERS}")
|
||||
message(STATUS "Unit Tests: ${ENABLE_UNIT_TESTS}")
|
||||
|
Loading…
Reference in New Issue
Block a user