diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-10-21 21:09:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-21 21:09:09 (GMT) |
commit | 25ef191f433f0b90cd691d6481e6259ef7f5bc65 (patch) | |
tree | 7d848a023f120fa1ba81caddf998df2c12af2fb8 /tools/test/h5dump/CMakeVFDTests.cmake | |
parent | 9ad1d9073c2750d7675ef7296e6ad80d50fbdc0f (diff) | |
download | hdf5-25ef191f433f0b90cd691d6481e6259ef7f5bc65.zip hdf5-25ef191f433f0b90cd691d6481e6259ef7f5bc65.tar.gz hdf5-25ef191f433f0b90cd691d6481e6259ef7f5bc65.tar.bz2 |
1.12 Merge Move test utilities to utils/test folder #1109 (#1110)
* Merge Move test utilities to utils/test folder #1109
* Merge Correct shell tests and c++ flag warning
* Fix typo
Diffstat (limited to 'tools/test/h5dump/CMakeVFDTests.cmake')
-rw-r--r-- | tools/test/h5dump/CMakeVFDTests.cmake | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/tools/test/h5dump/CMakeVFDTests.cmake b/tools/test/h5dump/CMakeVFDTests.cmake index 01834b3..6a70b85 100644 --- a/tools/test/h5dump/CMakeVFDTests.cmake +++ b/tools/test/h5dump/CMakeVFDTests.cmake @@ -16,19 +16,7 @@ ############################################################################## ############################################################################## -set (VFD_H5DUMP_LIST - sec2 - stdio - core - core_paged - split - multi - family -) - -if (H5_HAVE_DIRECT) - set (VFD_H5DUMP_LIST ${VFD_H5DUMP_LIST} direct) -endif () +H5_SET_VFD_LIST() # -------------------------------------------------------------------- # Copy all the HDF5 files from the source directory into the test directory @@ -37,8 +25,7 @@ set (HDF5_VFD_H5DUMP_FILES packedbits ) -foreach (vfdtest ${VFD_H5DUMP_LIST}) - file (MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/${vfdname}") +foreach (vfdtest ${VFD_LIST}) foreach (h5_tfile ${HDF5_VFD_H5DUMP_FILES}) HDFTEST_COPY_FILE("${HDF5_TOOLS_DIR}/testfiles/${h5_tfile}.h5" "${PROJECT_BINARY_DIR}/${vfdtest}/${h5_tfile}.h5" "HDF5_VFD_H5DUMP_files") HDFTEST_COPY_FILE("${HDF5_TOOLS_DIR}/testfiles/${h5_tfile}.ddl" "${PROJECT_BINARY_DIR}/${vfdtest}/${h5_tfile}.ddl" "HDF5_VFD_H5DUMP_files") @@ -79,7 +66,7 @@ endmacro () ############################################################################## # Run test with different Virtual File Driver -foreach (vfd ${VFD_H5DUMP_LIST}) +foreach (vfd ${VFD_LIST}) # test for signed/unsigned datasets ADD_VFD_H5DUMP_TEST (${vfd} packedbits 0 --enable-error-stack packedbits.h5) endforeach () |