summaryrefslogtreecommitdiffstats
path: root/tools/test/h5repack/CMakeTests.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-11-06 21:45:58 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-11-06 21:45:58 (GMT)
commit79903575e64e1e8f46ce27e6212d5d5939a8a900 (patch)
tree17ec3c8424b8f42ab67328cd2fd029dd3a0a0c3d /tools/test/h5repack/CMakeTests.cmake
parentc77d044dd0af2dfcbf6369cf6975f36f0a28cd76 (diff)
downloadhdf5-79903575e64e1e8f46ce27e6212d5d5939a8a900.zip
hdf5-79903575e64e1e8f46ce27e6212d5d5939a8a900.tar.gz
hdf5-79903575e64e1e8f46ce27e6212d5d5939a8a900.tar.bz2
HDFFV-10605 Only test plugins if SHARED enabled
Diffstat (limited to 'tools/test/h5repack/CMakeTests.cmake')
-rw-r--r--tools/test/h5repack/CMakeTests.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test/h5repack/CMakeTests.cmake b/tools/test/h5repack/CMakeTests.cmake
index a063e19..3ee5e27 100644
--- a/tools/test/h5repack/CMakeTests.cmake
+++ b/tools/test/h5repack/CMakeTests.cmake
@@ -1450,11 +1450,13 @@ ADD_H5_VERIFY_INVALIDBOUNDS (latest_latest_invalid bounds_latest_latest.h5 0 1)
##############################################################################
### P L U G I N T E S T S
##############################################################################
+if (BUILD_SHARED_LIBS)
ADD_H5_UD_TEST (plugin_version_test 0 h5repack_layout.h5 -v -f UD=260,0,4,9,${H5_VERS_MAJOR},${H5_VERS_MINOR},${H5_VERS_RELEASE})
ADD_H5_UD_TEST (plugin_test 0 h5repack_layout.h5 -v -f UD=257,0,1,9)
ADD_H5_UD_TEST (plugin_none 0 h5repack_layout.UD.h5 -v -f NONE)
# check for no parameters
ADD_H5_UD_TEST (plugin_zero 0 h5repack_layout.h5 -v -f UD=250,0,0)
+endif ()
if (HDF5_TEST_VFD)
# Run test with different Virtual File Driver