summaryrefslogtreecommitdiffstats
path: root/test/CMakeTests.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-05-04 16:29:52 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-05-04 16:29:52 (GMT)
commitca8465513df4d24bb4d941c00b2b90d4f592c28e (patch)
treeaa7d2904bedb46c371b37cab7711e78918133056 /test/CMakeTests.cmake
parent5e94747c52e7ecffdec9262a98caeb5deb5970b2 (diff)
downloadhdf5-ca8465513df4d24bb4d941c00b2b90d4f592c28e.zip
hdf5-ca8465513df4d24bb4d941c00b2b90d4f592c28e.tar.gz
hdf5-ca8465513df4d24bb4d941c00b2b90d4f592c28e.tar.bz2
[svn-r29882] Convert cache source files to library compatible by CMake and Windows
Diffstat (limited to 'test/CMakeTests.cmake')
-rw-r--r--test/CMakeTests.cmake611
1 files changed, 301 insertions, 310 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index 0612049..9e83ecb 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -49,7 +49,7 @@ foreach (h5_tfile ${HDF5_TEST_FILES})
TARGET ${HDF5_TEST_LIB_TARGET}
POST_BUILD
COMMAND ${CMAKE_COMMAND}
- ARGS -E copy_if_different ${HDF5_TOOLS_SRC_DIR}/testfiles/${h5_tfile} ${dest}
+ ARGS -E copy_if_different ${HDF5_TOOLS_DIR}/testfiles/${h5_tfile} ${dest}
)
if (BUILD_SHARED_LIBS)
set (dest "${PROJECT_BINARY_DIR}/H5TEST-shared/${h5_tfile}")
@@ -57,7 +57,7 @@ foreach (h5_tfile ${HDF5_TEST_FILES})
TARGET ${HDF5_TEST_LIBSH_TARGET}
POST_BUILD
COMMAND ${CMAKE_COMMAND}
- ARGS -E copy_if_different ${HDF5_TOOLS_SRC_DIR}/testfiles/${h5_tfile} ${dest}
+ ARGS -E copy_if_different ${HDF5_TOOLS_DIR}/testfiles/${h5_tfile} ${dest}
)
endif (BUILD_SHARED_LIBS)
endforeach (h5_tfile ${HDF5_TEST_FILES})
@@ -69,7 +69,7 @@ if (HDF5_TEST_VFD)
TARGET ${HDF5_TEST_LIB_TARGET}
POST_BUILD
COMMAND ${CMAKE_COMMAND}
- ARGS -E copy_if_different ${HDF5_TOOLS_SRC_DIR}/testfiles/${h5_tfile} ${dest}
+ ARGS -E copy_if_different ${HDF5_TOOLS_DIR}/testfiles/${h5_tfile} ${dest}
)
if (BUILD_SHARED_LIBS)
set (dest "${PROJECT_BINARY_DIR}/${vfdtest}-shared/${h5_tfile}")
@@ -77,7 +77,7 @@ if (HDF5_TEST_VFD)
TARGET ${HDF5_TEST_LIBSH_TARGET}
POST_BUILD
COMMAND ${CMAKE_COMMAND}
- ARGS -E copy_if_different ${HDF5_TOOLS_SRC_DIR}/testfiles/${h5_tfile} ${dest}
+ ARGS -E copy_if_different ${HDF5_TOOLS_DIR}/testfiles/${h5_tfile} ${dest}
)
endif (BUILD_SHARED_LIBS)
endforeach (h5_tfile ${HDF5_TEST_FILES})
@@ -237,9 +237,9 @@ set (HDF5_REFERENCE_TEST_FILES
family_v16_00001.h5
family_v16_00002.h5
family_v16_00003.h5
+ file_image_core_test.h5
filespace_1_6.h5
filespace_1_8.h5
- file_image_core_test.h5
fill_old.h5
filter_error.h5
group_old.h5
@@ -305,8 +305,7 @@ if (HDF5_TEST_VFD)
endif (HDF5_TEST_VFD)
# Remove any output file left over from previous test run
-add_test (
- NAME H5TEST-clear-testhdf5-objects
+add_test (NAME H5TEST-clear-testhdf5-objects
COMMAND ${CMAKE_COMMAND}
-E remove
coord.h5
@@ -363,8 +362,7 @@ else (HDF5_ENABLE_USING_MEMCHECKER)
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST
)
if (BUILD_SHARED_LIBS)
- add_test (
- NAME H5TEST-shared-clear-testhdf5-objects
+ add_test (NAME H5TEST-shared-clear-testhdf5-objects
COMMAND ${CMAKE_COMMAND}
-E remove
coord.h5
@@ -402,79 +400,258 @@ endif (HDF5_ENABLE_USING_MEMCHECKER)
##############################################################################
##############################################################################
+set (test_CLEANFILES
+ accum.h5
+ cmpd_dset.h5
+ compact_dataset.h5
+ dataset.h5
+ dset_offset.h5
+ max_compact_dataset.h5
+ simple.h5
+ set_local.h5
+ random_chunks.h5
+ huge_chunks.h5
+ chunk_cache.h5
+ big_chunk.h5
+ chunk_fast.h5
+ chunk_expand.h5
+ chunk_fixed.h5
+ copy_dcpl_newfile.h5
+ partial_chunks.h5
+ layout_extend.h5
+ zero_chunk.h5
+ chunk_single.h5
+ storage_size.h5
+ dls_01_strings.h5
+ extend.h5
+ istore.h5
+ extlinks*.h5
+ frspace.h5
+ links*.h5
+ sys_file1
+ tfile*.h5
+ th5s*.h5
+ lheap.h5
+ fheap.h5
+ ohdr.h5
+ stab.h5
+ extern_*.h5
+ extern_*.raw
+ gheap*.h5
+ dt_arith1
+ dt_arith2
+ links.h5
+ links*.h5
+ extlinks16A00000.h5
+ extlinks16A00001.h5
+ extlinks16A00002.h5
+ extlinks16B-b.h5
+ extlinks16B-g.h5
+ extlinks16B-l.h5
+ extlinks16B-r.h5
+ extlinks16B-s.h5
+ extlinks19B00000.h5
+ extlinks19B00001.h5
+ extlinks19B00002.h5
+ extlinks19B00003.h5
+ extlinks19B00004.h5
+ extlinks19B00005.h5
+ extlinks19B00006.h5
+ extlinks19B00007.h5
+ extlinks19B00008.h5
+ extlinks19B00009.h5
+ extlinks19B00010.h5
+ extlinks19B00011.h5
+ extlinks19B00012.h5
+ extlinks19B00013.h5
+ extlinks19B00014.h5
+ extlinks19B00015.h5
+ extlinks19B00016.h5
+ extlinks19B00017.h5
+ extlinks19B00018.h5
+ extlinks19B00019.h5
+ extlinks19B00020.h5
+ extlinks19B00021.h5
+ extlinks19B00022.h5
+ extlinks19B00023.h5
+ extlinks19B00024.h5
+ extlinks19B00025.h5
+ extlinks19B00026.h5
+ extlinks19B00027.h5
+ extlinks19B00028.h5
+ tmp
+ big.data
+ big*.h5
+ stdio.h5
+ sec2.h5
+ dtypes0.h5
+ dtypes1.h5
+ dtypes2.h5
+ dtypes3.h5
+ dtypes4.h5
+ dtypes5.h5
+ dtypes6.h5
+ dtypes7.h5
+ dtypes8.h5
+ dtypes9.h5
+ dtypes10.h5
+ dt_arith1.h5
+ dt_arith2.h5
+ tattr.h5
+ tselect.h5
+ mtime.h5
+ unlink.h5
+ unicode.h5
+ coord.h5
+ fillval_*.h5
+ fillval.raw
+ mount_*.h5
+ testmeta.h5
+ ttime.h5
+ trefer1.h5
+ trefer2.h5
+ trefer3.h5
+ tvltypes.h5
+ tvlstr.h5
+ tvlstr2.h5
+ flush.h5
+ enum1.h5
+ titerate.h5
+ ttsafe.h5
+ tarray1.h5
+ tgenprop.h5
+ tmisc*.h5
+ set_extent1.h5
+ set_extent2.h5
+ set_extent3.h5
+ set_extent4.h5
+ set_extent5.h5
+ ext1.bin
+ ext2.bin
+ getname.h5
+ getname1.h5
+ getname2.h5
+ getname3.h5
+ sec2_file.h5
+ direct_file.h5
+ family_file000*.h5
+ new_family_v16_000*.h5
+ multi_file-r.h5
+ multi_file-s.h5
+ core_file
+ plugin.h5
+ new_move_a.h5
+ new_move_b.h5
+ ntypes.h5
+ dangle.h5
+ error_test.h5
+ err_compat.h5
+ dtransform.h5
+ test_filters.h5
+ get_file_name.h5
+ tstint1.h5
+ tstint2.h5
+ unlink_chunked.h5
+ btree2.h5
+ btree2_tmp.h5
+ objcopy_src.h5
+ objcopy_dst.h5
+ objcopy_ext.dat
+ trefer1.h5
+ trefer2.h5
+ app_ref.h5
+ farray.h5
+ farray_tmp.h5
+ earray.h5
+ earray_tmp.h5
+ efc0.h5
+ efc1.h5
+ efc2.h5
+ efc3.h5
+ efc4.h5
+ efc5.h5
+ log_vfd_out.log
+ new_multi_file_v16-r.h5
+ new_multi_file_v16-s.h5
+ split_get_file_image_test-m.h5
+ split_get_file_image_test-r.h5
+ file_image_core_test.h5.copy
+ unregister_filter_1.h5
+ unregister_filter_2.h5
+ vds_virt.h5
+ vds_dapl.h5
+ vds_src_0.h5
+ vds_src_1.h5
+ tbogus.h5.copy
+)
+
# Remove any output file left over from previous test run
-add_test (
- NAME H5TEST-clear-objects
+add_test (NAME H5TEST-clear-objects
COMMAND ${CMAKE_COMMAND}
-E remove
- dt_arith1.h5
- dt_arith2.h5
- dtransform.h5
- dtypes3.h5
- dtypes4.h5
- dtypes5.h5
- efc0.h5
- efc1.h5
- efc2.h5
- efc3.h5
- efc4.h5
- efc5.h5
- extlinks16A00000.h5
- extlinks16A00001.h5
- extlinks16A00002.h5
- extlinks16B-b.h5
- extlinks16B-g.h5
- extlinks16B-l.h5
- extlinks16B-r.h5
- extlinks16B-s.h5
- extlinks19B00000.h5
- extlinks19B00001.h5
- extlinks19B00002.h5
- extlinks19B00003.h5
- extlinks19B00004.h5
- extlinks19B00005.h5
- extlinks19B00006.h5
- extlinks19B00007.h5
- extlinks19B00008.h5
- extlinks19B00009.h5
- extlinks19B00010.h5
- extlinks19B00011.h5
- extlinks19B00012.h5
- extlinks19B00013.h5
- extlinks19B00014.h5
- extlinks19B00015.h5
- extlinks19B00016.h5
- extlinks19B00017.h5
- extlinks19B00018.h5
- extlinks19B00019.h5
- extlinks19B00020.h5
- extlinks19B00021.h5
- extlinks19B00022.h5
- extlinks19B00023.h5
- extlinks19B00024.h5
- extlinks19B00025.h5
- extlinks19B00026.h5
- extlinks19B00027.h5
- extlinks19B00028.h5
- fheap.h5
- log_vfd_out.log
- new_multi_file_v16-r.h5
- new_multi_file_v16-s.h5
- objcopy_ext.dat
- testmeta.h5
- tstint1.h5
- tstint2.h5
- unregister_filter_1.h5
- unregister_filter_2.h5
- vds_1.h5
+ ${test_CLEANFILES}
WORKING_DIRECTORY
${HDF5_TEST_BINARY_DIR}/H5TEST
)
-foreach (test ${H5_TESTS})
+set (H5TEST_TESTS
+ #testhdf5
+ #cache
+ cache_api
+ cache_tagging
+ lheap
+ ohdr
+ stab
+ gheap
+ farray
+ earray
+ btree2
+ fheap
+ pool
+ accum
+ #hyperslab
+ istore
+ bittests
+ dt_arith
+ dtypes
+ dsets
+ cmpd_dset
+ filter_fail
+ extend
+ external
+ efc
+ objcopy
+ links
+ unlink
+ big
+ mtime
+ fillval
+ mount
+ flush1
+ flush2
+ app_ref
+ enum
+ set_extent
+ ttsafe
+ enc_dec_plist
+ enc_dec_plist_cross_platform
+ getname
+ vfd
+ ntypes
+ dangle
+ dtransform
+ reserved
+ cross_read
+ freespace
+ mf
+ vds
+ file_image
+ unregister
+)
+
+foreach (test ${H5TEST_TESTS})
if (${test} STREQUAL "big" AND CYGWIN)
- add_test (
- NAME H5TEST-${test}
+ add_test (NAME H5TEST-${test}
COMMAND ${CMAKE_COMMAND} -E echo "SKIP ${test}"
)
else (${test} STREQUAL "big" AND CYGWIN)
@@ -485,87 +662,27 @@ foreach (test ${H5_TESTS})
ENVIRONMENT "srcdir=${HDF5_TEST_BINARY_DIR}/H5TEST"
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST
)
-endforeach (test ${H5_TESTS})
+endforeach (test ${H5TEST_TESTS})
set_tests_properties (H5TEST-flush2 PROPERTIES DEPENDS H5TEST-flush1)
set_tests_properties (H5TEST-fheap PROPERTIES TIMEOUT 1800)
-set_tests_properties (H5TEST-testmeta PROPERTIES TIMEOUT 1800)
set_tests_properties (H5TEST-big PROPERTIES TIMEOUT 1800)
+set_tests_properties (H5TEST-btree2 PROPERTIES TIMEOUT 1800)
set_tests_properties (H5TEST-objcopy PROPERTIES TIMEOUT 2400)
if (BUILD_SHARED_LIBS)
# Remove any output file left over from previous test run
- add_test (
- NAME H5TEST-shared-clear-objects
+ add_test (NAME H5TEST-shared-clear-objects
COMMAND ${CMAKE_COMMAND}
-E remove
- dt_arith1.h5
- dt_arith2.h5
- dtransform.h5
- dtypes3.h5
- dtypes4.h5
- dtypes5.h5
- efc0.h5
- efc1.h5
- efc2.h5
- efc3.h5
- efc4.h5
- efc5.h5
- extlinks16A00000.h5
- extlinks16A00001.h5
- extlinks16A00002.h5
- extlinks16B-b.h5
- extlinks16B-g.h5
- extlinks16B-l.h5
- extlinks16B-r.h5
- extlinks16B-s.h5
- extlinks19B00000.h5
- extlinks19B00001.h5
- extlinks19B00002.h5
- extlinks19B00003.h5
- extlinks19B00004.h5
- extlinks19B00005.h5
- extlinks19B00006.h5
- extlinks19B00007.h5
- extlinks19B00008.h5
- extlinks19B00009.h5
- extlinks19B00010.h5
- extlinks19B00011.h5
- extlinks19B00012.h5
- extlinks19B00013.h5
- extlinks19B00014.h5
- extlinks19B00015.h5
- extlinks19B00016.h5
- extlinks19B00017.h5
- extlinks19B00018.h5
- extlinks19B00019.h5
- extlinks19B00020.h5
- extlinks19B00021.h5
- extlinks19B00022.h5
- extlinks19B00023.h5
- extlinks19B00024.h5
- extlinks19B00025.h5
- extlinks19B00026.h5
- extlinks19B00027.h5
- extlinks19B00028.h5
- fheap.h5
- log_vfd_out.log
- new_multi_file_v16-r.h5
- new_multi_file_v16-s.h5
- objcopy_ext.dat
- testmeta.h5
- tstint1.h5
- tstint2.h5
- unregister_filter_1.h5
- unregister_filter_2.h5
+ ${test_CLEANFILES}
WORKING_DIRECTORY
${HDF5_TEST_BINARY_DIR}/H5TEST-shared
)
- foreach (test ${H5_TESTS})
+ foreach (test ${H5TEST_TESTS})
if (${test} STREQUAL "big" AND CYGWIN)
- add_test (
- NAME H5TEST-shared-${test}
+ add_test (NAME H5TEST-shared-${test}
COMMAND ${CMAKE_COMMAND} -E echo "SKIP ${test}-shared"
)
else (${test} STREQUAL "big" AND CYGWIN)
@@ -576,12 +693,12 @@ if (BUILD_SHARED_LIBS)
ENVIRONMENT "srcdir=${HDF5_TEST_BINARY_DIR}/H5TEST-shared"
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST-shared
)
- endforeach (test ${H5_TESTS})
+ endforeach (test ${H5TEST_TESTS})
set_tests_properties (H5TEST-shared-flush2 PROPERTIES DEPENDS H5TEST-shared-flush1)
set_tests_properties (H5TEST-shared-fheap PROPERTIES TIMEOUT 1800)
- set_tests_properties (H5TEST-shared-testmeta PROPERTIES TIMEOUT 1800)
set_tests_properties (H5TEST-shared-big PROPERTIES TIMEOUT 1800)
+ set_tests_properties (H5TEST-shared-btree2 PROPERTIES TIMEOUT 1800)
set_tests_properties (H5TEST-shared-objcopy PROPERTIES TIMEOUT 2400)
endif (BUILD_SHARED_LIBS)
@@ -593,8 +710,7 @@ endif (BUILD_SHARED_LIBS)
#-- Adding test for cache
if (NOT CYGWIN)
- add_test (
- NAME H5TEST-clear-cache-objects
+ add_test (NAME H5TEST-clear-cache-objects
COMMAND ${CMAKE_COMMAND}
-E remove
cache_test.h5
@@ -610,62 +726,9 @@ if (NOT CYGWIN)
set_tests_properties (H5TEST-cache PROPERTIES TIMEOUT 2400)
endif (NOT CYGWIN)
-#-- Adding test for cache_api
-add_test (
- NAME H5TEST-clear-cache_api-objects
- COMMAND ${CMAKE_COMMAND}
- -E remove
- cache_api_test.h5
- WORKING_DIRECTORY
- ${HDF5_TEST_BINARY_DIR}/H5TEST
-)
-add_test (NAME H5TEST-cache_api COMMAND $<TARGET_FILE:cache_api>)
-set_tests_properties (H5TEST-cache_api PROPERTIES
- DEPENDS H5TEST-clear-cache_api-objects
- ENVIRONMENT "srcdir=${HDF5_TEST_BINARY_DIR}/H5TEST"
- WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST
-)
-
-#-- Adding test for cache_tagging
-add_test (
- NAME H5TEST-clear-cache_tagging-objects
- COMMAND ${CMAKE_COMMAND}
- -E remove
- tagging_test.h5
- tagging_ext_test.h5
- WORKING_DIRECTORY
- ${HDF5_TEST_BINARY_DIR}/H5TEST
-)
-add_test (NAME H5TEST-cache_tagging COMMAND $<TARGET_FILE:cache_tagging>)
-set_tests_properties (H5TEST-cache_tagging PROPERTIES
- DEPENDS H5TEST-clear-cache_tagging-objects
- ENVIRONMENT "srcdir=${HDF5_TEST_BINARY_DIR}/H5TEST"
- WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST
-)
-
-#-- Adding test for ttsafe
-add_test (
- NAME H5TEST-clear-ttsafe-objects
- COMMAND ${CMAKE_COMMAND}
- -E remove
- ttsafe_error.h5
- ttsafe_dcreate.h5
- ttsafe_cancel.h5
- ttsafe_acreate.h5
- WORKING_DIRECTORY
- ${HDF5_TEST_BINARY_DIR}/H5TEST
-)
-add_test (NAME H5TEST-ttsafe COMMAND $<TARGET_FILE:ttsafe>)
-set_tests_properties (H5TEST-ttsafe PROPERTIES
- DEPENDS H5TEST-clear-ttsafe-objects
- ENVIRONMENT "srcdir=${HDF5_TEST_BINARY_DIR}/H5TEST"
- WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST
-)
-
#-- Adding test for err_compat
if (HDF5_ENABLE_DEPRECATED_SYMBOLS)
- add_test (
- NAME H5TEST-clear-err_compat-objects
+ add_test (NAME H5TEST-clear-err_compat-objects
COMMAND ${CMAKE_COMMAND}
-E remove
err_compat.txt
@@ -691,8 +754,7 @@ if (HDF5_ENABLE_DEPRECATED_SYMBOLS)
endif (HDF5_ENABLE_DEPRECATED_SYMBOLS)
#-- Adding test for error_test
-add_test (
- NAME H5TEST-clear-error_test-objects
+add_test (NAME H5TEST-clear-error_test-objects
COMMAND ${CMAKE_COMMAND}
-E remove
error_test.txt
@@ -717,8 +779,7 @@ set_tests_properties (H5TEST-error_test PROPERTIES
)
#-- Adding test for links_env
-add_test (
- NAME H5TEST-clear-links_env-objects
+add_test (NAME H5TEST-clear-links_env-objects
COMMAND ${CMAKE_COMMAND}
-E remove
links_env.txt
@@ -747,8 +808,7 @@ set_tests_properties (H5TEST-links_env PROPERTIES
)
#-- Adding test for libinfo
-add_test (
- NAME H5TEST-testlibinfo
+add_test (NAME H5TEST-testlibinfo
COMMAND ${CMAKE_COMMAND} -D "TEST_PROGRAM=$<TARGET_FILE:${HDF5_LIB_TARGET}>" -P "${GREP_RUNNER}"
WORKING_DIRECTORY
${HDF5_TEST_BINARY_DIR}/H5TEST
@@ -757,8 +817,7 @@ add_test (
if (BUILD_SHARED_LIBS)
#-- Adding test for cache
if (NOT CYGWIN)
- add_test (
- NAME H5TEST-shared-clear-cache-objects
+ add_test (NAME H5TEST-shared-clear-cache-objects
COMMAND ${CMAKE_COMMAND}
-E remove
cache_test.h5
@@ -774,62 +833,9 @@ if (BUILD_SHARED_LIBS)
set_tests_properties (H5TEST-shared-cache PROPERTIES TIMEOUT 2400)
endif (NOT CYGWIN)
- #-- Adding test for cache_api
- add_test (
- NAME H5TEST-shared-clear-cache_api-objects
- COMMAND ${CMAKE_COMMAND}
- -E remove
- cache_api_test.h5
- WORKING_DIRECTORY
- ${HDF5_TEST_BINARY_DIR}/H5TEST-shared
- )
- add_test (NAME H5TEST-shared-cache_api COMMAND $<TARGET_FILE:cache_api-shared>)
- set_tests_properties (H5TEST-shared-cache_api PROPERTIES
- DEPENDS H5TEST-shared-clear-cache_api-objects
- ENVIRONMENT "srcdir=${HDF5_TEST_BINARY_DIR}/H5TEST-shared"
- WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST-shared
- )
-
- #-- Adding test for cache_tagging
- add_test (
- NAME H5TEST-shared-clear-cache_tagging-objects
- COMMAND ${CMAKE_COMMAND}
- -E remove
- tagging_test.h5
- tagging_ext_test.h5
- WORKING_DIRECTORY
- ${HDF5_TEST_BINARY_DIR}/H5TEST-shared
- )
- add_test (NAME H5TEST-shared-cache_tagging COMMAND $<TARGET_FILE:cache_tagging-shared>)
- set_tests_properties (H5TEST-shared-cache_tagging PROPERTIES
- DEPENDS H5TEST-shared-clear-cache_tagging-objects
- ENVIRONMENT "srcdir=${HDF5_TEST_BINARY_DIR}/H5TEST-shared"
- WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST-shared
- )
-
- #-- Adding test for ttsafe
- add_test (
- NAME H5TEST-shared-clear-ttsafe-objects
- COMMAND ${CMAKE_COMMAND}
- -E remove
- ttsafe_error.h5
- ttsafe_dcreate.h5
- ttsafe_cancel.h5
- ttsafe_acreate.h5
- WORKING_DIRECTORY
- ${HDF5_TEST_BINARY_DIR}/H5TEST-shared
- )
- add_test (NAME H5TEST-shared-ttsafe COMMAND $<TARGET_FILE:ttsafe-shared>)
- set_tests_properties (H5TEST-shared-ttsafe PROPERTIES
- DEPENDS H5TEST-shared-clear-ttsafe-objects
- ENVIRONMENT "srcdir=${HDF5_TEST_BINARY_DIR}/H5TEST-shared"
- WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST-shared
- )
-
#-- Adding test for err_compat
if (HDF5_ENABLE_DEPRECATED_SYMBOLS)
- add_test (
- NAME H5TEST-shared-clear-err_compat-objects
+ add_test (NAME H5TEST-shared-clear-err_compat-objects
COMMAND ${CMAKE_COMMAND}
-E remove
err_compat.txt
@@ -855,8 +861,7 @@ if (BUILD_SHARED_LIBS)
endif (HDF5_ENABLE_DEPRECATED_SYMBOLS)
#-- Adding test for error_test
- add_test (
- NAME H5TEST-shared-clear-error_test-objects
+ add_test (NAME H5TEST-shared-clear-error_test-objects
COMMAND ${CMAKE_COMMAND}
-E remove
error_test.txt
@@ -881,8 +886,7 @@ if (BUILD_SHARED_LIBS)
)
#-- Adding test for links_env
- add_test (
- NAME H5TEST-shared-clear-links_env-objects
+ add_test (NAME H5TEST-shared-clear-links_env-objects
COMMAND ${CMAKE_COMMAND}
-E remove
links_env.txt
@@ -911,8 +915,7 @@ if (BUILD_SHARED_LIBS)
)
#-- Adding test for libinfo
- add_test (
- NAME H5TEST-shared-testlibinfo
+ add_test (NAME H5TEST-shared-testlibinfo
COMMAND ${CMAKE_COMMAND} -D "TEST_PROGRAM=$<TARGET_FILE:${HDF5_LIBSH_TARGET}>" -P "${GREP_RUNNER}"
WORKING_DIRECTORY
${HDF5_TEST_BINARY_DIR}/H5TEST-shared
@@ -944,15 +947,19 @@ if (HDF5_TEST_VFD)
set (H5_VFD_TESTS
testhdf5
- accum
+# cache
+ cache_api
+ cache_tagging
lheap
ohdr
stab
gheap
-# cache
- cache_api
- cache_tagging
pool
+# accum
+ farray
+ earray
+ btree2
+ #fheap
hyperslab
istore
bittests
@@ -978,7 +985,7 @@ if (HDF5_TEST_VFD)
set_extent
ttsafe
getname
- vfd
+# vfd
ntypes
dangle
dtransform
@@ -986,15 +993,11 @@ if (HDF5_TEST_VFD)
cross_read
freespace
mf
- farray
- earray
- btree2
- #fheap
- error_test
- err_compat
- tcheck_version
- testmeta
- links_env
+# error_test
+# err_compat
+ #tcheck_version
+# testmeta
+# links_env
unregister
)
if (NOT CYGWIN)
@@ -1005,8 +1008,7 @@ if (HDF5_TEST_VFD)
if (${vfdtest} STREQUAL "flush1" OR ${vfdtest} STREQUAL "flush2")
if (${vfdname} STREQUAL "multi" OR ${vfdname} STREQUAL "split")
if (NOT BUILD_SHARED_LIBS AND NOT CMAKE_BUILD_TYPE MATCHES Debug)
- add_test (
- NAME VFD-${vfdname}-${vfdtest}
+ add_test (NAME VFD-${vfdname}-${vfdtest}
COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:${vfdtest}>"
-D "TEST_ARGS:STRING="
@@ -1021,8 +1023,7 @@ if (HDF5_TEST_VFD)
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/${vfdname}
)
if (BUILD_SHARED_LIBS)
- add_test (
- NAME VFD-${vfdname}-${test}-shared
+ add_test (NAME VFD-${vfdname}-${test}-shared
COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:${vfdtest}-shared>"
-D "TEST_ARGS:STRING="
@@ -1038,20 +1039,17 @@ if (HDF5_TEST_VFD)
)
endif (BUILD_SHARED_LIBS)
else (NOT BUILD_SHARED_LIBS AND NOT CMAKE_BUILD_TYPE MATCHES Debug)
- add_test (
- NAME VFD-${vfdname}-${vfdtest}
+ add_test (NAME VFD-${vfdname}-${vfdtest}
COMMAND ${CMAKE_COMMAND} -E echo "SKIP VFD-${vfdname}-${vfdtest}"
)
if (BUILD_SHARED_LIBS)
- add_test (
- NAME VFD-${vfdname}-${test}-shared
+ add_test (NAME VFD-${vfdname}-${test}-shared
COMMAND ${CMAKE_COMMAND} -E echo "SKIP VFD-${vfdname}-${vfdtest}-shared"
)
endif (BUILD_SHARED_LIBS)
endif(NOT BUILD_SHARED_LIBS AND NOT CMAKE_BUILD_TYPE MATCHES Debug)
else (${vfdname} STREQUAL "multi" OR ${vfdname} STREQUAL "split")
- add_test (
- NAME VFD-${vfdname}-${vfdtest}
+ add_test (NAME VFD-${vfdname}-${vfdtest}
COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:${vfdtest}>"
-D "TEST_ARGS:STRING="
@@ -1066,8 +1064,7 @@ if (HDF5_TEST_VFD)
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/${vfdname}
)
if (BUILD_SHARED_LIBS)
- add_test (
- NAME VFD-${vfdname}-${test}-shared
+ add_test (NAME VFD-${vfdname}-${test}-shared
COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:${vfdtest}-shared>"
-D "TEST_ARGS:STRING="
@@ -1084,8 +1081,7 @@ if (HDF5_TEST_VFD)
endif (BUILD_SHARED_LIBS)
endif (${vfdname} STREQUAL "multi" OR ${vfdname} STREQUAL "split")
else (${vfdtest} STREQUAL "flush1" OR ${vfdtest} STREQUAL "flush2")
- add_test (
- NAME VFD-${vfdname}-${vfdtest}
+ add_test (NAME VFD-${vfdname}-${vfdtest}
COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:${vfdtest}>"
-D "TEST_ARGS:STRING="
@@ -1100,8 +1096,7 @@ if (HDF5_TEST_VFD)
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/${vfdname}
)
if (BUILD_SHARED_LIBS)
- add_test (
- NAME VFD-${vfdname}-${vfdtest}-shared
+ add_test (NAME VFD-${vfdname}-${vfdtest}-shared
COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:${vfdtest}-shared>"
-D "TEST_ARGS:STRING="
@@ -1124,8 +1119,7 @@ if (HDF5_TEST_VFD)
if (WIN32)
CHECK_VFD_TEST (${test} ${vfdname} ${resultcode})
else (WIN32)
- add_test (
- NAME VFD-${vfdname}-${test}
+ add_test (NAME VFD-${vfdname}-${test}
COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:${test}>"
-D "TEST_ARGS:STRING="
@@ -1140,8 +1134,7 @@ if (HDF5_TEST_VFD)
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/${vfdname}
)
if (BUILD_SHARED_LIBS)
- add_test (
- NAME VFD-${vfdname}-${test}-shared
+ add_test (NAME VFD-${vfdname}-${test}-shared
COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:${test}-shared>"
-D "TEST_ARGS:STRING="
@@ -1162,21 +1155,20 @@ if (HDF5_TEST_VFD)
set_tests_properties (VFD-${vfdname}-flush1 PROPERTIES TIMEOUT 10)
set_tests_properties (VFD-${vfdname}-flush2 PROPERTIES TIMEOUT 10)
set_tests_properties (VFD-${vfdname}-istore PROPERTIES TIMEOUT 1800)
- if (NOT CYGWIN)
- set_tests_properties (VFD-${vfdname}-cache PROPERTIES TIMEOUT 1800)
- endif (NOT CYGWIN)
+# if (NOT CYGWIN)
+# set_tests_properties (VFD-${vfdname}-cache PROPERTIES TIMEOUT 1800)
+# endif (NOT CYGWIN)
if (BUILD_SHARED_LIBS)
set_tests_properties (VFD-${vfdname}-flush2-shared PROPERTIES DEPENDS VFD-${vfdname}-flush1-shared)
set_tests_properties (VFD-${vfdname}-flush1-shared PROPERTIES TIMEOUT 10)
set_tests_properties (VFD-${vfdname}-flush2-shared PROPERTIES TIMEOUT 10)
set_tests_properties (VFD-${vfdname}-istore-shared PROPERTIES TIMEOUT 1800)
- if (NOT CYGWIN)
- set_tests_properties (VFD-${vfdname}-cache-shared PROPERTIES TIMEOUT 1800)
- endif (NOT CYGWIN)
+# if (NOT CYGWIN)
+# set_tests_properties (VFD-${vfdname}-cache-shared PROPERTIES TIMEOUT 1800)
+# endif (NOT CYGWIN)
endif (BUILD_SHARED_LIBS)
if (HDF5_TEST_FHEAP_VFD)
- add_test (
- NAME VFD-${vfdname}-fheap
+ add_test (NAME VFD-${vfdname}-fheap
COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:fheap>"
-D "TEST_ARGS:STRING="
@@ -1192,8 +1184,7 @@ if (HDF5_TEST_VFD)
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/${vfdname}
)
if (BUILD_SHARED_LIBS)
- add_test (
- NAME VFD-${vfdname}-fheap-shared
+ add_test (NAME VFD-${vfdname}-fheap-shared
COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:fheap-shared>"
-D "TEST_ARGS:STRING="