diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-11-09 17:55:28 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-11-09 17:55:28 (GMT) |
commit | a2e6cb3c82ed9f237c2b8499d02296ede8be1836 (patch) | |
tree | 51c9e47ff86fd8b24033593a2900d1dd74e24212 | |
parent | f9674dfe4ea4e1054c6f7a862f2bac99bceedd36 (diff) | |
download | hdf5-a2e6cb3c82ed9f237c2b8499d02296ede8be1836.zip hdf5-a2e6cb3c82ed9f237c2b8499d02296ede8be1836.tar.gz hdf5-a2e6cb3c82ed9f237c2b8499d02296ede8be1836.tar.bz2 |
Factor out path
-rw-r--r-- | tools/test/h5dump/CMakeTests.cmake | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/tools/test/h5dump/CMakeTests.cmake b/tools/test/h5dump/CMakeTests.cmake index b08bcc5..a664e4e 100644 --- a/tools/test/h5dump/CMakeTests.cmake +++ b/tools/test/h5dump/CMakeTests.cmake @@ -184,12 +184,12 @@ ${HDF5_TOOLS_DIR}/testfiles/zerodim.ddl ) set (HDF5_N_REFERENCE_FILES - ${HDF5_TOOLS_DIR}/testfiles/tall-3 - ${HDF5_TOOLS_DIR}/testfiles/tattr-2 - ${HDF5_TOOLS_DIR}/testfiles/tcomp-2 - ${HDF5_TOOLS_DIR}/testfiles/thlink-4 - ${HDF5_TOOLS_DIR}/testfiles/thlink-5 - ${HDF5_TOOLS_DIR}/testfiles/tslink-2 + tall-3 + tattr-2 + tcomp-2 + thlink-4 + thlink-5 + tslink-2 ) set (HDF5_REFERENCE_EXP_FILES tall-6.exp @@ -339,10 +339,9 @@ 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_h5_file ${HDF5_N_REFERENCE_TEST_FILES}) - get_filename_component (fname "${tst_h5_file}" NAME) - HDFTEST_COPY_FILE("${tst_h5_file}.ddl" "${PROJECT_BINARY_DIR}/testfiles/std/${fname}-N.ddl" "h5dump_std_files") - endforeach (tst_h5_file ${HDF5_N_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}) foreach (tst_exp_file ${HDF5_REFERENCE_EXP_FILES}) if (WIN32) |