mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
Correct name of list
This commit is contained in:
parent
a2e6cb3c82
commit
94f09655cb
@ -338,29 +338,29 @@
|
||||
foreach (tst_h5_file ${HDF5_REFERENCE_TEST_FILES})
|
||||
get_filename_component (fname "${tst_h5_file}" NAME)
|
||||
HDFTEST_COPY_FILE("${tst_h5_file}" "${PROJECT_BINARY_DIR}/testfiles/std/${fname}" "h5dump_std_files")
|
||||
endforeach (tst_h5_file ${HDF5_REFERENCE_TEST_FILES})
|
||||
foreach (tst_h5N_file ${HDF5_N_REFERENCE_TEST_FILES})
|
||||
HDFTEST_COPY_FILE("${HDF5_TOOLS_DIR}/testfiles/${tst_h5N_file}.ddl" "${PROJECT_BINARY_DIR}/testfiles/std/${tst_h5N_file}-N.ddl" "h5dump_std_files")
|
||||
endforeach (tst_h5N_file ${HDF5_N_REFERENCE_TEST_FILES})
|
||||
endforeach ()
|
||||
|
||||
foreach (tst_exp_file ${HDF5_REFERENCE_EXP_FILES})
|
||||
if (WIN32)
|
||||
file (READ ${HDF5_TOOLS_DIR}/testfiles/${tst_exp_file} TEST_STREAM)
|
||||
file (WRITE ${PROJECT_BINARY_DIR}/testfiles/std/${tst_exp_file} "${TEST_STREAM}")
|
||||
else (WIN32)
|
||||
else ()
|
||||
HDFTEST_COPY_FILE("${HDF5_TOOLS_DIR}/testfiles/${tst_exp_file}" "${PROJECT_BINARY_DIR}/testfiles/std/${tst_exp_file}" "h5dump_std_files")
|
||||
endif (WIN32)
|
||||
endforeach (tst_exp_file ${HDF5_REFERENCE_EXP_FILES})
|
||||
endif ()
|
||||
endforeach ()
|
||||
|
||||
foreach (tst_other_file ${HDF5_REFERENCE_FILES})
|
||||
get_filename_component (fname "${tst_other_file}" NAME)
|
||||
HDFTEST_COPY_FILE("${tst_other_file}" "${PROJECT_BINARY_DIR}/testfiles/std/${fname}" "h5dump_std_files")
|
||||
endforeach (tst_other_file ${HDF5_REFERENCE_FILES})
|
||||
endforeach ()
|
||||
foreach (tst_h5N_file ${HDF5_N_REFERENCE_FILES})
|
||||
HDFTEST_COPY_FILE("${HDF5_TOOLS_DIR}/testfiles/${tst_h5N_file}.ddl" "${PROJECT_BINARY_DIR}/testfiles/std/${tst_h5N_file}-N.ddl" "h5dump_std_files")
|
||||
endforeach ()
|
||||
|
||||
foreach (tst_error_file ${HDF5_ERROR_REFERENCE_TEST_FILES})
|
||||
get_filename_component (fname "${tst_error_file}" NAME)
|
||||
HDFTEST_COPY_FILE("${tst_error_file}" "${PROJECT_BINARY_DIR}/testfiles/std/${fname}" "h5dump_std_files")
|
||||
endforeach (tst_error_file ${HDF5_ERROR_REFERENCE_TEST_FILES})
|
||||
endforeach ()
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
# Special file handling
|
||||
@ -370,9 +370,9 @@
|
||||
if (WIN32)
|
||||
file (READ ${HDF5_TOOLS_DIR}/testfiles/tbinregR.exp TEST_STREAM)
|
||||
file (WRITE ${PROJECT_BINARY_DIR}/testfiles/std/tbinregR.exp "${TEST_STREAM}")
|
||||
else (WIN32)
|
||||
else ()
|
||||
HDFTEST_COPY_FILE("${HDF5_TOOLS_DIR}/testfiles/tbinregR.exp" "${PROJECT_BINARY_DIR}/testfiles/std/tbinregR.exp" "h5dump_std_files")
|
||||
endif (WIN32)
|
||||
endif ()
|
||||
add_custom_target(h5dump_std_files ALL COMMENT "Copying files needed by h5dump_std tests" DEPENDS ${h5dump_std_files_list})
|
||||
|
||||
##############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user