Added hard failure to script, modified cmake default.

This commit is contained in:
Ward Fisher 2020-04-01 16:20:33 -06:00
parent e1e7bd2975
commit 9d482c3f20
2 changed files with 3 additions and 1 deletions

View File

@ -1151,7 +1151,7 @@ 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." ${USE_PARALLEL})
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)
SET(TEST_PARALLEL ON CACHE BOOL "")
IF(USE_NETCDF4)

View File

@ -5,6 +5,8 @@
# Ed Hartnett, Dennis Heimbigner, Ward Fisher
set -e
if test "x$srcdir" = x ; then srcdir=`pwd`; fi
. ../test_common.sh