Got distcheck working, corrected some parallel test logic in cmakelists.

This commit is contained in:
Ward Fisher 2016-06-09 13:21:28 -06:00
parent ea2e9959f5
commit b2b8499f53
2 changed files with 4 additions and 1 deletions

View File

@ -986,6 +986,9 @@ ENDIF()
OPTION(ENABLE_PARALLEL_TESTS "Enable Parallel IO Tests. Ignored if netCDF4 is not enabled, or if there is no parallel I/O Support." ${USE_PARALLEL})
IF(ENABLE_PARALLEL_TESTS AND USE_PARALLEL)
SET(TEST_PARALLEL ON CACHE BOOL "")
IF(USE_NETCDF4)
SET(TEST_PARALLEL4 ON CACHE BOOL "")
ENDIF()
ENDIF()
# Determine whether or not to generate documentation.

View File

@ -81,7 +81,7 @@ IF(USE_HDF4_FILE_TESTS AND NOT MSVC)
ENDIF()
IF(TEST_PARALLEL)
IF(TEST_PARALLEL4)
build_bin_test(tst_mpi_parallel)
build_bin_test(tst_parallel)
build_bin_test(tst_parallel3)