summaryrefslogtreecommitdiffstats
path: root/test/CMakeTests.cmake
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2016-12-18 20:17:02 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2016-12-18 20:17:02 (GMT)
commitab3963b28e59419f8e857ec224dd4efa3ea6dd8e (patch)
treebd1611376e49342df2dc4244879881fee178fbeb /test/CMakeTests.cmake
parent7f51c8862ea971db773d4c4b043d1bd216aed8fc (diff)
parentf8cfbee05e26a815134cd1f1fb0ad87d8d9b16dd (diff)
downloadhdf5-ab3963b28e59419f8e857ec224dd4efa3ea6dd8e.zip
hdf5-ab3963b28e59419f8e857ec224dd4efa3ea6dd8e.tar.gz
hdf5-ab3963b28e59419f8e857ec224dd4efa3ea6dd8e.tar.bz2
Merge pull request #207 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_swmr_merge_06 to develop
* commit 'f8cfbee05e26a815134cd1f1fb0ad87d8d9b16dd': Merge SWMR-related testing to existing tests. Bring over tweak for missing environment variable. Update CMake configuration files with SWMR accumulator changes. Add missing accumulator test. Merge SWMR-oriented accumulator tests from revise_chunks to develop.
Diffstat (limited to 'test/CMakeTests.cmake')
-rw-r--r--test/CMakeTests.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index 3fc0fb6..0ccb557 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -43,6 +43,21 @@ set (HDF5_TEST_FILES
tnullspace.h5
)
+add_custom_command (
+ TARGET accum_swmr_reader
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy_if_different "$<TARGET_FILE:accum_swmr_reader>" "${PROJECT_BINARY_DIR}/H5TEST/accum_swmr_reader"
+)
+if (BUILD_SHARED_LIBS)
+ add_custom_command (
+ TARGET accum_swmr_reader
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy_if_different "$<TARGET_FILE:accum_swmr_reader>" "${PROJECT_BINARY_DIR}/H5TEST-shared/accum_swmr_reader"
+ )
+endif (BUILD_SHARED_LIBS)
+
foreach (h5_tfile ${HDF5_TEST_FILES})
HDFTEST_COPY_FILE("${HDF5_TOOLS_DIR}/testfiles/${h5_tfile}" "${PROJECT_BINARY_DIR}/H5TEST/${h5_tfile}" "HDF5_TEST_LIB_files")
if (BUILD_SHARED_LIBS)
@@ -493,6 +508,8 @@ set (test_CLEANFILES
vds_src_0.h5
vds_src_1.h5
tbogus.h5.copy
+ accum_swmr_big.h5
+ ohdr_swmr.h5
cache_logging.h5
cache_logging.out
)