diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-01-31 15:26:44 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-01-31 15:26:44 (GMT) |
commit | 21d48c1d1f79cdfd1b816a5b7ba2e8694a16fbd6 (patch) | |
tree | 610275c029432f0dac91d19076455101cb0b2f31 | |
parent | ec941a86436140c93f41a1ca8b3d6aae4dcdc487 (diff) | |
download | hdf5-21d48c1d1f79cdfd1b816a5b7ba2e8694a16fbd6.zip hdf5-21d48c1d1f79cdfd1b816a5b7ba2e8694a16fbd6.tar.gz hdf5-21d48c1d1f79cdfd1b816a5b7ba2e8694a16fbd6.tar.bz2 |
Fix Windows static only cache test checking
-rw-r--r-- | test/CMakeTests.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake index 20d615b..8b078d2 100644 --- a/test/CMakeTests.cmake +++ b/test/CMakeTests.cmake @@ -1055,10 +1055,11 @@ if (HDF5_TEST_VFD) # links_env unregister ) - if (NOT CYGWIN AND NOT WIN32) + if (NOT CYGWIN) set (H5_VFD_TESTS ${H5_VFD_TESTS} big cache) endif () + # Windows only macro MACRO (CHECK_VFD_TEST vfdtest vfdname resultcode) if (${vfdtest} STREQUAL "flush1" OR ${vfdtest} STREQUAL "flush2") if (${vfdname} STREQUAL "multi" OR ${vfdname} STREQUAL "split") @@ -1150,7 +1151,7 @@ if (HDF5_TEST_VFD) ENVIRONMENT "srcdir=${HDF5_TEST_BINARY_DIR}/${vfdname};HDF5TestExpress=${HDF_TEST_EXPRESS}" WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/${vfdname} ) - if (BUILD_SHARED_LIBS) + if (BUILD_SHARED_LIBS AND NOT ${vfdtest} STREQUAL "cache") add_test (NAME VFD-${vfdname}-${vfdtest}-shared COMMAND "${CMAKE_COMMAND}" -D "TEST_PROGRAM=$<TARGET_FILE:${vfdtest}-shared>" |