summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2021-10-29 12:48:52 (GMT)
committerGitHub <noreply@github.com>2021-10-29 12:48:52 (GMT)
commit68d810d0d28668b3845cd9186b8947b47f7454e0 (patch)
tree3e674f005ef004449c29af38443506f6d74f8be8 /test
parenta931934fa793ceeb8334e365de225bfd1b67c92a (diff)
downloadhdf5-68d810d0d28668b3845cd9186b8947b47f7454e0.zip
hdf5-68d810d0d28668b3845cd9186b8947b47f7454e0.tar.gz
hdf5-68d810d0d28668b3845cd9186b8947b47f7454e0.tar.bz2
1.10 Merge Consolidate VFD create list macro #1132 (#1140)
* Merge Consolidate VFD create list macro #1132 * Split dir create into separate macro * fix VFD settings
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt6
-rw-r--r--test/CMakeVFDTests.cmake4
2 files changed, 5 insertions, 5 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index c4c83ed..e6345de 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -464,9 +464,9 @@ if (HDF5_ENABLE_FORMATTERS)
clang_format (HDF5_TEST_thread_id_FORMAT thread_id)
endif ()
-if (HDF5_BUILD_UTILS)
-#-- Adding test for mirror_vfd
-add_executable (mirror_vfd ${mirror_vfd_SOURCES})
+if (HDF5_BUILD_UTILS) # requires mirror server
+ #-- Adding test for mirror_vfd
+ add_executable (mirror_vfd ${mirror_vfd_SOURCES})
target_include_directories (mirror_vfd PRIVATE "${HDF5_SRC_DIR};${HDF5_SRC_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
if (NOT BUILD_SHARED_LIBS)
TARGET_C_PROPERTIES (mirror_vfd STATIC)
diff --git a/test/CMakeVFDTests.cmake b/test/CMakeVFDTests.cmake
index 4a83c11..22bad5d 100644
--- a/test/CMakeVFDTests.cmake
+++ b/test/CMakeVFDTests.cmake
@@ -16,9 +16,9 @@
##############################################################################
##############################################################################
# included from CMakeTests.cmake
+H5_CREATE_VFD_DIR()
-H5_SET_VFD_LIST()
-
+# create more test folders for each VFD
foreach (vfdtest ${VFD_LIST})
file (MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/${vfdtest}/testfiles")
file (MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/${vfdtest}/testfiles/plist_files")