diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-11-01 22:10:50 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-11-01 22:10:50 (GMT) |
commit | 2b0d8d59ae24d870f21726912c43aeac64425fde (patch) | |
tree | 7b50941acb0b3e75f225b1b674033399d4d8f73a /test | |
parent | a960b232c176132ca027e64e1803076b39fc4d3d (diff) | |
download | hdf5-2b0d8d59ae24d870f21726912c43aeac64425fde.zip hdf5-2b0d8d59ae24d870f21726912c43aeac64425fde.tar.gz hdf5-2b0d8d59ae24d870f21726912c43aeac64425fde.tar.bz2 |
[svn-r19706] Added VFD test options.
Bring r19705 from branch
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 71 |
1 files changed, 68 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 0adc244..0d60993 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -294,7 +294,6 @@ FOREACH (test ${H5_TESTS}) ENDFOREACH (test ${H5_TESTS}) - ############################################################################## ############################################################################## ### A D D I T I O N A L T E S T S ### @@ -348,13 +347,65 @@ IF (HDF5_TEST_VFD) multi family ) + + SET (H5_VFD_TESTS + testhdf5 + accum + lheap + ohdr + stab + gheap + cache + cache_api + cache_tagging + pool + hyperslab + istore + bittests + dt_arith + dtypes + cmpd_dset + filter_fail + extend + external + objcopy + links + unlink + big + mtime + fillval + mount + flush1 + flush2 + app_ref + enum + set_extent + ttsafe + getname + vfd + ntypes + dangle + dtransform + reserved + cross_read + freespace + mf + farray + earray + btree2 + #fheap + error_test + err_compat + tcheck_version + testmeta +) IF (DIRECT_VFD) SET (VFD_LIST ${VFD_LIST} direct) ENDIF (DIRECT_VFD) MACRO (ADD_VFD_TEST vfdname resultcode) - FOREACH (test ${H5_TESTS}) + FOREACH (test ${H5_VFD_TESTS}) ADD_TEST ( NAME VFD-${vfdname}-${test} COMMAND "${CMAKE_COMMAND}" @@ -362,10 +413,24 @@ IF (HDF5_TEST_VFD) -D "TEST_ARGS:STRING=" -D "TEST_VFD:STRING=${vfdname}" -D "TEST_EXPECT=${resultcode}" + -D "TEST_OUTPUT=${test}" + -D "TEST_FOLDER=${PROJECT_BINARY_DIR}" + -P "${HDF5_RESOURCES_DIR}/vfdTest.cmake" + ) + ENDFOREACH (test ${H5_VFD_TESTS}) + IF (HDF5_TEST_FHEAP_VFD) + ADD_TEST ( + NAME VFD-${vfdname}-fheap + COMMAND "${CMAKE_COMMAND}" + -D "TEST_PROGRAM=$<TARGET_FILE:fheap>" + -D "TEST_ARGS:STRING=" + -D "TEST_VFD:STRING=${vfdname}" + -D "TEST_EXPECT=${resultcode}" + -D "TEST_OUTPUT=fheap" -D "TEST_FOLDER=${PROJECT_BINARY_DIR}" -P "${HDF5_RESOURCES_DIR}/vfdTest.cmake" ) - ENDFOREACH (test ${H5_TESTS}) + ENDIF (HDF5_TEST_FHEAP_VFD) ENDMACRO (ADD_VFD_TEST) # Run test with different Virtual File Driver |