mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-11 16:40:36 +08:00
Replace ENABLE_UNIT_TESTS with NETCDF_ENABLE_UNIT_TESTS
This commit is contained in:
parent
a82659b0e9
commit
ff1307b62d
@ -790,7 +790,7 @@ if(NETCDF_ENABLE_TESTS)
|
||||
# Option to turn on unit testing. See
|
||||
# https://github.com/Unidata/netcdf-c/pull/1472 for more information.
|
||||
###
|
||||
option(ENABLE_UNIT_TESTS "Run Unit Tests." ON)
|
||||
option(NETCDF_ENABLE_UNIT_TESTS "Run Unit Tests." ON)
|
||||
|
||||
###
|
||||
# Option to turn on performance testing.
|
||||
@ -1463,9 +1463,9 @@ if(NETCDF_ENABLE_TESTS)
|
||||
if(NETCDF_ENABLE_BENCHMARKS)
|
||||
add_subdirectory(nc_perf)
|
||||
endif(NETCDF_ENABLE_BENCHMARKS)
|
||||
if(ENABLE_UNIT_TESTS)
|
||||
if(NETCDF_ENABLE_UNIT_TESTS)
|
||||
add_subdirectory(unit_test)
|
||||
endif(ENABLE_UNIT_TESTS)
|
||||
endif(NETCDF_ENABLE_UNIT_TESTS)
|
||||
if(NETCDF_ENABLE_NCZARR)
|
||||
add_subdirectory(nczarr_test)
|
||||
endif()
|
||||
|
@ -244,7 +244,7 @@ macro(print_conf_summary)
|
||||
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}")
|
||||
message(STATUS "Unit Tests: ${NETCDF_ENABLE_UNIT_TESTS}")
|
||||
endif()
|
||||
|
||||
message("")
|
||||
|
Loading…
Reference in New Issue
Block a user