diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-09-26 20:46:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 20:46:55 (GMT) |
commit | 1529ec0ab3a348e17aab0e0ec97bb80adc4decc2 (patch) | |
tree | 5ec9e4feb2bf7888b9db7b8b28c6bc135dab3b16 /tools/test/h5dump/CMakeTestsPBITS.cmake | |
parent | a87ca572fed15303ad36adcb6f2203f8297e8277 (diff) | |
download | hdf5-1529ec0ab3a348e17aab0e0ec97bb80adc4decc2.zip hdf5-1529ec0ab3a348e17aab0e0ec97bb80adc4decc2.tar.gz hdf5-1529ec0ab3a348e17aab0e0ec97bb80adc4decc2.tar.bz2 |
Develop tools move (#3580)
Reorganizes the tools files to support the VOL tests
Diffstat (limited to 'tools/test/h5dump/CMakeTestsPBITS.cmake')
-rw-r--r-- | tools/test/h5dump/CMakeTestsPBITS.cmake | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/tools/test/h5dump/CMakeTestsPBITS.cmake b/tools/test/h5dump/CMakeTestsPBITS.cmake index caca4b7..118b314 100644 --- a/tools/test/h5dump/CMakeTestsPBITS.cmake +++ b/tools/test/h5dump/CMakeTestsPBITS.cmake @@ -76,9 +76,9 @@ tpbitsUnsignedLongLong16.ddl ) set (HDF5_REFERENCE_TEST_PBITS - ${HDF5_TOOLS_DIR}/testfiles/packedbits.h5 - ${HDF5_TOOLS_DIR}/testfiles/tarray1.h5 - ${HDF5_TOOLS_DIR}/testfiles/tcompound.h5 + packedbits.h5 + tarray1.h5 + tcompound.h5 ) set (HDF5_ERROR_REFERENCE_PBITS tnofilename-with-packed-bits.err @@ -97,19 +97,15 @@ ) foreach (pbits_h5_file ${HDF5_REFERENCE_TEST_PBITS}) - get_filename_component(fname "${pbits_h5_file}" NAME) - HDFTEST_COPY_FILE("${pbits_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/pbits/${fname}" "h5dump_pbits_files") + HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/testfiles/${pbits_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/pbits/${pbits_h5_file}" "h5dump_pbits_files") endforeach () - foreach (ddl_pbits ${HDF5_REFERENCE_PBITS}) - get_filename_component(fname "${ddl_pbits}" NAME) - HDFTEST_COPY_FILE("${HDF5_TOOLS_DIR}/testfiles/pbits/${ddl_pbits}" "${PROJECT_BINARY_DIR}/testfiles/pbits/${fname}" "h5dump_pbits_files") + HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/expected/pbits/${ddl_pbits}" "${PROJECT_BINARY_DIR}/testfiles/pbits/${ddl_pbits}" "h5dump_pbits_files") endforeach () - foreach (ddl_pbits ${HDF5_ERROR_REFERENCE_PBITS}) - get_filename_component(fname "${ddl_pbits}" NAME) - HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/errfiles/${ddl_pbits}" "${PROJECT_BINARY_DIR}/testfiles/pbits/${fname}" "h5dump_pbits_files") + foreach (ddl_err_pbits ${HDF5_ERROR_REFERENCE_PBITS}) + HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/errfiles/pbits/${ddl_err_pbits}" "${PROJECT_BINARY_DIR}/testfiles/pbits/${ddl_err_pbits}" "h5dump_pbits_files") endforeach () add_custom_target(h5dump_pbits_files ALL COMMENT "Copying files needed by h5dump_pbits tests" DEPENDS ${h5dump_pbits_files_list}) |