Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
blank_issues_enabled: false

1 change: 0 additions & 1 deletion HDF5Examples/config/cmake/runExecute.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ macro (STREAM_STRINGS stream strings_out)
string(REPLACE ";" "\;" ${strings_out} "${${strings_out}}")
# break the string into lines at newlines
string(REPLACE "\n" ";" ${strings_out} "${${strings_out}}")
message(STATUS "After macro replace, read_out = ${${strings_out}}")
# Remove last entry
list(POP_BACK ${strings_out})
endmacro()
Expand Down
10 changes: 7 additions & 3 deletions config/cmake/HDFLibMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ macro (EXTERNAL_ZLIB_LIBRARY compress_type)

FetchContent_MakeAvailable(HDF5_ZLIB)

add_library(${HDF_PACKAGE_NAMESPACE}zlib-static ALIAS zlib-static)
if (HDF_PACKAGE_NAMESPACE)
add_library(${HDF_PACKAGE_NAMESPACE}zlib-static ALIAS zlib-static)
endif ()
set (H5_ZLIB_STATIC_LIBRARY "${HDF_PACKAGE_NAMESPACE}zlib-static")
set (H5_ZLIB_LIBRARIES ${H5_ZLIB_STATIC_LIBRARY})
if (HDF5_USE_ZLIB_NG)
Expand Down Expand Up @@ -85,8 +87,10 @@ macro (EXTERNAL_SZIP_LIBRARY compress_type encoding)
endif ()
FetchContent_MakeAvailable(SZIP)

add_library (${HDF_PACKAGE_NAMESPACE}szaec-static ALIAS szaec-static)
add_library (${HDF_PACKAGE_NAMESPACE}aec-static ALIAS aec-static)
if (HDF_PACKAGE_NAMESPACE)
add_library (${HDF_PACKAGE_NAMESPACE}szaec-static ALIAS szaec-static)
add_library (${HDF_PACKAGE_NAMESPACE}aec-static ALIAS aec-static)
endif ()
set (H5_SZIP_STATIC_LIBRARY "${HDF_PACKAGE_NAMESPACE}szaec-static;${HDF_PACKAGE_NAMESPACE}aec-static")
set (H5_SZIP_LIBRARIES ${H5_SZIP_STATIC_LIBRARY})

Expand Down
1 change: 0 additions & 1 deletion config/cmake/runExecute.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ macro (STREAM_STRINGS stream strings_out)
string(REPLACE ";" "\;" ${strings_out} "${${strings_out}}")
# break the string into lines at newlines
string(REPLACE "\n" ";" ${strings_out} "${${strings_out}}")
message(STATUS "After macro replace, read_out = ${${strings_out}}")
# Remove last entry
list(POP_BACK ${strings_out})
endmacro()
Expand Down
4 changes: 3 additions & 1 deletion config/examples/HDF5AsSubdirMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ macro (EXTERNAL_HDF5_LIBRARY compress_type)
add_subdirectory(${hdf5lib_SOURCE_DIR} ${hdf5lib_BINARY_DIR})
endif()

add_library(${HDF_PACKAGE_NAMESPACE}hdf5lib-static ALIAS hdf5-static)
if (HDF_PACKAGE_NAMESPACE)
add_library(${HDF_PACKAGE_NAMESPACE}hdf5lib-static ALIAS hdf5-static)
endif()
set (H5LIB_STATIC_LIBRARY "${HDF_PACKAGE_NAMESPACE}hdf5lib-static")
set (H5LIB_LIBRARIES ${H5LIB_STATIC_LIBRARY})
set (H5LIB_TOOLS ${hdf5lib_BINARY_DIR}/bin})
Expand Down
12 changes: 6 additions & 6 deletions java/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/h5ex_g_iterate.orig" "${PROJECT_BINARY_
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/h5ex_g_iterate.orig" "${PROJECT_BINARY_DIR}/h5ex_g_iterateL2.hdf" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/h5ex_g_iterate.orig" "${PROJECT_BINARY_DIR}/h5ex_g_iterateO1.hdf" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/h5ex_g_iterate.orig" "${PROJECT_BINARY_DIR}/h5ex_g_iterateO2.hdf" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/trefer_reg.h5" "${PROJECT_BINARY_DIR}/trefer_reg.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/trefer_attr.h5" "${PROJECT_BINARY_DIR}/trefer_attr.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/tdatareg.h5" "${PROJECT_BINARY_DIR}/tdatareg.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/tattrreg.h5" "${PROJECT_BINARY_DIR}/tattrreg.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/tintsattrs.h5" "${PROJECT_BINARY_DIR}/tintsattrs.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/tfloatsattrs.h5" "${PROJECT_BINARY_DIR}/tfloatsattrs.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/trefer_reg.h5" "${PROJECT_BINARY_DIR}/trefer_reg.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/trefer_attr.h5" "${PROJECT_BINARY_DIR}/trefer_attr.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/tdatareg.h5" "${PROJECT_BINARY_DIR}/tdatareg.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/tattrreg.h5" "${PROJECT_BINARY_DIR}/tattrreg.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/tintsattrs.h5" "${PROJECT_BINARY_DIR}/tintsattrs.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/tfloatsattrs.h5" "${PROJECT_BINARY_DIR}/tfloatsattrs.h5" "${HDF5_JAVA_TEST_LIB_TARGET}_files")

add_custom_target(${HDF5_JAVA_TEST_LIB_TARGET}_files ALL COMMENT "Copying files needed by ${HDF5_JAVA_TEST_LIB_TARGET} tests" DEPENDS ${${HDF5_JAVA_TEST_LIB_TARGET}_files_list})

Expand Down
5 changes: 3 additions & 2 deletions tools/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ set (HDF5_TOOLS
h5jam
h5repack
h5stat
h5ls
)

set (HDF5_TOOLS_MISC
Expand Down Expand Up @@ -40,10 +41,10 @@ if (HDF5_BUILD_GENERATORS)
foreach(tool ${HDF5_TOOLS};${HDF5_TOOLS_MISC})
if (${tool} IN_LIST HDF5_TOOLS_MISC)
add_library(${tool}gentest OBJECT ${HDF5_TOOLS_TEST_SOURCE_DIR}/misc/${tool}gentest.c)
target_include_directories (${tool}gentest PRIVATE "${HDF5_SRC_INCLUDE_DIRS};${HDF5_TEST_SRC_DIR};${HDF5_TOOLS_TST_DIR};${HDF5_TOOLS_ROOT_DIR}/misc;${HDF5_TOOLS_ROOT_DIR}/lib;${HDF5_SRC_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
target_include_directories (${tool}gentest PRIVATE "${HDF5_SRC_INCLUDE_DIRS};${HDF5_TEST_SRC_DIR};${HDF5_TOOLS_TST_DIR};${HDF5_TOOLS_ROOT_DIR}/misc;${HDF5_TOOLS_ROOT_DIR}/lib;${HDF5_SRC_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
else()
add_library(${tool}gentest OBJECT ${HDF5_TOOLS_TEST_SOURCE_DIR}/${tool}/${tool}gentest.c)
target_include_directories (${tool}gentest PRIVATE "${HDF5_SRC_INCLUDE_DIRS};${HDF5_TEST_SRC_DIR};${HDF5_TOOLS_TST_DIR};${HDF5_TOOLS_ROOT_DIR}/lib;${HDF5_SRC_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
target_include_directories (${tool}gentest PRIVATE "${HDF5_SRC_INCLUDE_DIRS};${HDF5_TEST_SRC_DIR};${HDF5_TOOLS_TST_DIR};${HDF5_TOOLS_ROOT_DIR}/lib;${HDF5_SRC_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
endif()

if (HDF5_BUILD_STATIC_TOOLS)
Expand Down
17 changes: 9 additions & 8 deletions tools/test/h5copy/CMakeTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
# Copy all the HDF5 files from the source directory into the test directory
# --------------------------------------------------------------------
set (LIST_HDF5_TEST_FILES
h5copy_extlinks_src.h5
h5copy_extlinks_trg.h5
h5copy_ref.h5
h5copytst.h5
tudfilter.h5
tudfilter2.h5
h5copy_extlinks_src.h5
h5copy_extlinks_trg.h5
h5copy_ref.h5
h5copytst.h5
tudfilter.h5
tudfilter2.h5
)

set (LIST_OTHER_TEST_FILES
Expand All @@ -40,14 +40,15 @@

file (MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles")


foreach (listfiles ${LIST_HDF5_TEST_FILES})
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/testfiles/${listfiles}" "${PROJECT_BINARY_DIR}/testfiles/${listfiles}" "h5copy_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/${listfiles}" "${PROJECT_BINARY_DIR}/testfiles/${listfiles}" "h5copy_files")
endforeach ()

foreach (listothers ${LIST_OTHER_TEST_FILES})
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/expected/${listothers}" "${PROJECT_BINARY_DIR}/testfiles/${listothers}" "h5copy_files")
endforeach ()
add_custom_target(h5copy_files ALL COMMENT "Copying files needed by h5copy tests" DEPENDS ${h5copy_files_list})
add_custom_target(h5copy_files ALL COMMENT "Copying files needed by h5copy tests" DEPENDS ${h5copy_files_list})

##############################################################################
##############################################################################
Expand Down
18 changes: 9 additions & 9 deletions tools/test/h5diff/CMakeTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -336,21 +336,21 @@
# copy test files from source to build dir
#
foreach (h5_tstfiles ${LIST_DIFF_TEST_FILES})
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/testfiles/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/testfiles/${h5_tstfiles}" "h5diff_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/testfiles/${h5_tstfiles}" "h5diff_files")
if (H5_HAVE_PARALLEL)
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/testfiles/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/PAR/testfiles/${h5_tstfiles}" "h5diff_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/PAR/testfiles/${h5_tstfiles}" "h5diff_files")
endif ()
endforeach ()
foreach (h5_tstfiles ${LIST_VDS_TEST_FILES})
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/vds/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/testfiles/${h5_tstfiles}" "h5diff_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/vds/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/testfiles/${h5_tstfiles}" "h5diff_files")
if (H5_HAVE_PARALLEL)
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/vds/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/PAR/testfiles/${h5_tstfiles}" "h5diff_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/vds/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/PAR/testfiles/${h5_tstfiles}" "h5diff_files")
endif ()
endforeach ()
foreach (h5_tstfiles ${LIST_HDF5_TEST_FILES})
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/testfiles/${h5_tstfiles}" "h5diff_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/testfiles/${h5_tstfiles}" "h5diff_files")
if (H5_HAVE_PARALLEL)
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/PAR/testfiles/${h5_tstfiles}" "h5diff_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/${h5_tstfiles}" "${PROJECT_BINARY_DIR}/PAR/testfiles/${h5_tstfiles}" "h5diff_files")
endif ()
endforeach ()
foreach (h5_tstfiles ${LIST_OTHER_TEST_FILES})
Expand All @@ -360,9 +360,9 @@
endif ()
endforeach ()
# copy second version of tvlstr.h5
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/tvlstr.h5" "${PROJECT_BINARY_DIR}/testfiles/tvlstr2.h5" "h5diff_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/tvlstr.h5" "${PROJECT_BINARY_DIR}/testfiles/tvlstr2.h5" "h5diff_files")
if (H5_HAVE_PARALLEL)
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/h5dump/testfiles/tvlstr.h5" "${PROJECT_BINARY_DIR}/PAR/testfiles/tvlstr2.h5" "h5diff_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/tvlstr.h5" "${PROJECT_BINARY_DIR}/PAR/testfiles/tvlstr2.h5" "h5diff_files")
endif ()


Expand Down Expand Up @@ -760,7 +760,7 @@ ADD_H5_TEST (h5diff_51 1 -v ${FILE4} ${FILE4} dset1a dset1b)
ADD_H5_TEST (h5diff_52 1 -v ${FILE4} ${FILE4} dset2a dset2b)

# 5.3
ADD_H5_TEST (h5diff_53 1 -v ${FILE4} ${FILE4} dset3a dset4b)
ADD_H5_TEST (h5diff_53 1 -v ${FILE4} ${FILE4} dset3a dset3b)

# 5.4
ADD_H5_TEST (h5diff_54 1 -v ${FILE4} ${FILE4} dset4a dset4b)
Expand Down
4 changes: 2 additions & 2 deletions tools/test/h5diff/expected/h5diff_53.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dataset: </dset3a> and </dset4b>
dataset: </dset3a> and </dset3b>
size: [3x2] [3x2]
position dset3a dset4b difference
position dset3a dset3b difference
------------------------------------------------------------
[ 1 0 ] 1 3 2
[ 1 1 ] 1 4 3
Expand Down
48 changes: 48 additions & 0 deletions tools/test/h5diff/expected/h5diff_540.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,54 @@ position attr1 of </> attr1 of </> difference
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
8 differences found
attribute: <attr2 of </>> and <attr2 of </>>
size: [2] [2]
position attr2 of </> attr2 of </> difference
------------------------------------------------------------
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
6 differences found
attribute: <attr3 of </>> and <attr3 of </>>
size: [2] [2]
position attr3 of </> attr3 of </> difference
------------------------------------------------------------
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 0 ] 10 15 5
[ 0 ] 10.5 15.5 5
[ 0 ] 10 15 5
[ 0 ] 10.5 15.5 5
[ 1 ] 0 5 5
[ 1 ] 0 5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
12 differences found
attribute: <attr4 of </>> and <attr4 of </>>
size: [2] [2]
position attr4 of </> attr4 of </> difference
------------------------------------------------------------
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 0 ] 0 5 5
[ 0 ] 10 15 5
[ 0 ] 10.5 15.5 5
[ 1 ] 10 15 5
[ 1 ] 0 5 5
[ 1 ] 0 5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
[ 1 ] 10 15 5
[ 1 ] 0 5 5
[ 1 ] 0 5 5
[ 1 ] 10 15 5
[ 1 ] 10.5 15.5 5
15 differences found
dataset: </dset1> and </dset1>
size: [2] [2]
position dset1 dset1 difference
Expand Down
4 changes: 2 additions & 2 deletions tools/test/h5diff/h5diffgentest.c
Original file line number Diff line number Diff line change
Expand Up @@ -8560,7 +8560,7 @@ test_double_epsilon(const char *fname1, const char *fname2)
wdata[i][j] = 0.0;

/* dataset */
if (write_dset(fid1, 2, dims1, "dataset", H5T_IEEE_F64LE, wdata) < 0)
if (write_dset(fid1, 2, dims1, "DS1", H5T_IEEE_F64LE, wdata) < 0)
PROGRAM_ERROR;

/*
Expand All @@ -8571,7 +8571,7 @@ test_double_epsilon(const char *fname1, const char *fname2)
wdata[i][j] = (double)1.e-19;

/* dataset */
if (write_dset(fid2, 2, dims1, "dataset", H5T_IEEE_F64LE, wdata) < 0)
if (write_dset(fid2, 2, dims1, "DS1", H5T_IEEE_F64LE, wdata) < 0)
PROGRAM_ERROR;

error:
Expand Down
Binary file removed tools/test/h5diff/testfiles/tudfilter.h5
Binary file not shown.
Binary file removed tools/test/h5diff/testfiles/tudfilter2.h5
Binary file not shown.
2 changes: 1 addition & 1 deletion tools/test/h5dump/CMakeTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
# copy test files from source dir to test dir
#
foreach (tst_h5_file ${HDF5_REFERENCE_TEST_FILES})
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/testfiles/${tst_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/std/${tst_h5_file}" "h5dump_std_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/${tst_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/std/${tst_h5_file}" "h5dump_std_files")
endforeach ()

foreach (tst_exp_file ${HDF5_REFERENCE_EXP_FILES})
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/CMakeTestsPBITS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
)

foreach (pbits_h5_file ${HDF5_REFERENCE_TEST_PBITS})
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/testfiles/${pbits_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/pbits/${pbits_h5_file}" "h5dump_pbits_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/${pbits_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/pbits/${pbits_h5_file}" "h5dump_pbits_files")
endforeach ()

foreach (ddl_pbits ${HDF5_REFERENCE_PBITS})
Expand Down
4 changes: 2 additions & 2 deletions tools/test/h5dump/CMakeTestsVDS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@
)

foreach (vds_h5_file ${HDF5_REFERENCE_TEST_VDS})
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/testfiles/vds/${vds_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/vds/${vds_h5_file}" "h5dump_vds_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/vds/${vds_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/vds/${vds_h5_file}" "h5dump_vds_files")
endforeach ()

foreach (vds_h5_file ${HDF5_REFERENCE_PREFIX_VDS})
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/testfiles/vds/${vds_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/vds/prefix/${vds_h5_file}" "h5dump_vds_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/vds/${vds_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/vds/prefix/${vds_h5_file}" "h5dump_vds_files")
endforeach ()

foreach (ddl_vds ${HDF5_REFERENCE_VDS})
Expand Down
4 changes: 2 additions & 2 deletions tools/test/h5dump/CMakeTestsXML.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@
)

foreach (tst_xml_h5_file ${HDF5_XML_REFERENCE_TEST_FILES})
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/testfiles/${tst_xml_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/xml/${tst_xml_h5_file}" "h5dump_xml_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/${tst_xml_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/xml/${tst_xml_h5_file}" "h5dump_xml_files")
endforeach ()

foreach (tst_xmlonly_h5_file ${HDF5_XML_REFERENCE_ONLY_FILES})
HDFTEST_COPY_FILE("${PROJECT_SOURCE_DIR}/testfiles/xml/${tst_xmlonly_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/xml/${tst_xmlonly_h5_file}" "h5dump_xml_files")
HDFTEST_COPY_FILE("${HDF5_TOOLS_TST_DIR}/testfiles/xml/${tst_xmlonly_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/xml/${tst_xmlonly_h5_file}" "h5dump_xml_files")
endforeach ()

foreach (tst_xml_other_file ${HDF5_XML_REFERENCE_FILES})
Expand Down
Loading
Loading