summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #191 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_h5fs_fix ↵Dana Robinson2016-12-103-431/+375
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop Final fix for evict-on-close issues with new-style groups. * commit '02879bc4b2ba161dc259bf28a71e7a99b44be0e3': Updated the H5FS cache code to grab the correct tag and modified the freespace test to use dxpls that have been tagged with the H5AC__FREESPACE_TAG global tag instead of H5AC_ind_read_dxpl_id. The library code now expects the owner of the free space manager to tag it so the owner-less free space managers in the freespace tag had to be tagged with *something* to avoid cache errors. Changed the name of H5MF_alloc_close() to H5MF__alloc_close() to make the FUNC_ENTER macro happy. Reverted the freespace test. The TAG macros in H5MF_get_freespace() make the changes unnecessary. Added missing TAG macros to H5MF_get_freespace(). Updated the freespace test so functions take a common, tagged dxpl so the test will work with the new H5FS tag changes. Updated the cache_tagging test so it correctly analyzes the new fractal heap free space manager behavior. Added TAG macros to the H5MF package code so H5AC__FREESPACE_TAG gets set on the dxpl correctly. Also restored the TAG macro to H5FS__cache_hdr_pre_serialize() since otherwise the tag won't be initialized. First cut at fixing the tagging issue with the free space managers. * Converted the tag macros to regular ones so the parent's tag is used via the dxpl.
| * Updated the H5FS cache code to grab the correct tag and modifiedDana Robinson2016-12-081-253/+336
| | | | | | | | | | | | | | | | the freespace test to use dxpls that have been tagged with the H5AC__FREESPACE_TAG global tag instead of H5AC_ind_read_dxpl_id. The library code now expects the owner of the free space manager to tag it so the owner-less free space managers in the freespace tag had to be tagged with *something* to avoid cache errors.
| * Merge branch 'develop' into eoc_h5fs_fixDana Robinson2016-12-076-79/+7864
| |\
| * | Reverted the freespace test. The TAG macros in H5MF_get_freespace()Dana Robinson2016-11-301-180/+173
| | | | | | | | | | | | make the changes unnecessary.
| * | Updated the freespace test so functions take a common, taggedDana Robinson2016-11-301-173/+180
| | | | | | | | | | | | dxpl so the test will work with the new H5FS tag changes.
| * | Updated the cache_tagging test so it correctly analyzesDana Robinson2016-11-301-174/+39
| | | | | | | | | | | | | | | | | | | | | the new fractal heap free space manager behavior. Also converted the debug output of the cache_tagging test to use the revised H5AC_dump_cache() function.
| * | First cut at fixing the tagging issue with the free space managers.Dana Robinson2016-11-301-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Converted the tag macros to regular ones so the parent's tag is used via the dxpl. * Updated the tag sanity check logic so for free space managers. * Turned new-style group checks back on in test/evict_on_close.c
* | | Reduce timeout as normal run time on windows is less then 10 minAllen Byrne2016-12-051-8/+8
| |/ |/|
* | Bring SWMR support in to the main development branch. (Finally!) More testsQuincey Koziol2016-12-026-79/+7864
|/ | | | and the tool and API wrappers will be coming in over the weekend.
* Merge pull request #179 in HDFFV/hdf5 from ↵Dana Robinson2016-11-302-163/+163
|\ | | | | | | | | | | | | | | | | ~DEROBINS/hdf5_der:eoc_valgrind_bugfix to develop Fix for some evict-on-close issues revealed by Valgrind. * commit 'd3dbe9d90ee71b231b3264e1d62d3efbae3242ef': Tentative fix for valgrind issues related to EoC.
| * Merge branch 'develop' into eoc_valgrind_bugfixDana Robinson2016-11-291-2/+1
| |\
| * \ Merge branch 'develop' into eoc_valgrind_bugfixDana Robinson2016-11-285-20/+38
| |\ \
| * \ \ Merge branch 'develop' into eoc_valgrind_bugfixDana Robinson2016-11-264-61/+343
| |\ \ \
| * | | | Tentative fix for valgrind issues related to EoC.Dana Robinson2016-11-262-163/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds /*out*/ parameters to H5O_close() and H5F_try_close() so that H5D/G_close() will know when H5O_close() has triggered a file close and thus the file struct is not reliable. Also removes the H5F_CLOSING() macro and related which were formerly used to check if the file was closing.
* | | | | Merge branch 'develop' into expanded_eoc_testDana Robinson2016-11-292-4/+9
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Bring over another batch (hopefully the last) of non-SWMR "normalization"Quincey Koziol2016-11-291-2/+1
| | |_|/ | |/| | | | | | | | | | changes from the revise_chunks branch.
| * | | Merge pull request #171 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_memfix ↵Dana Robinson2016-11-281-2/+8
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop Fix for tfile.c valgrind issues. * commit '191cc19ae0a2feb72d2171a0808fdc71a3b862dd': Added vlen reclaim functions to a test in tfile.c that leaks memory.
| | * | | Added vlen reclaim functions to a test in tfile.cDana Robinson2016-11-231-2/+8
| | | | | | | | | | | | | | | | | | | | that leaks memory.
* | | | | Updated the evict-on-close test to create a large number of subgroupsDana Robinson2016-11-281-48/+102
|/ / / / | | | | | | | | | | | | | | | | in a containing group. This will ensure that many cache entries will be used, making a better test of EoC functionality.
* | | | Merge pull request #170 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_memfix ↵Dana Robinson2016-11-233-12/+24
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop Fixed a few memory issues in the tests. * commit 'e2863ca880a6983558d3ba3e5219164a57287f04': Fixed a few memory problems in test/cache_logging.c and test/h5test.c (which show up in test/vfd.c).
| * | | Fixed a few memory problems in test/cache_logging.c andDana Robinson2016-11-233-12/+24
| | |/ | |/| | | | | | | test/h5test.c (which show up in test/vfd.c).
* | | Add test to memcheck ignore and increase cache test timeoutAllen Byrne2016-11-221-6/+6
|/ /
* | Bring over support for retrying metadata cache entry loads, along with all theQuincey Koziol2016-11-204-61/+343
|/ | | | supporting metadata cache callback changes, etc.
* Remove 'clear' callback from metadata cache client interface, using theQuincey Koziol2016-11-182-12/+0
| | | | new 'entry cleaned' notify action innstead.
* Remove explicit support within the metadata cache for tracked compressedQuincey Koziol2016-11-172-238/+162
| | | | entries, they are now completely handled in the clients.
* Bring over new 'notify' metadata cache client callback actions for when anQuincey Koziol2016-11-122-1/+14
| | | | | entry is cleaned / dirtied or its [flush dependency] child entry is cleaned / dirtied.
* Merge pull request #155 in HDFFV/hdf5 from ↵Quincey Koziol2016-11-121-142/+0
|\ | | | | | | | | | | | | ~KOZIOL/hdf5:develop_merge_revise_chunks_05 to develop * commit '1c6924f18bd8fdad63c4f191c00605092c17fa6e': Refactor H5O code to clean up message allocation, align cache deserialize code with revise_chunks changes, and remove unused "message locking" code.
| * Refactor H5O code to clean up message allocation, align cache deserialize codeQuincey Koziol2016-11-121-142/+0
| | | | | | | | with revise_chunks changes, and remove unused "message locking" code.
* | Align w/minor cleanups in revise_chunks branch.Quincey Koziol2016-11-122-21/+13
|/
* Switch to new, more scalable, metadata cache entry tagging.Quincey Koziol2016-11-073-557/+424
|
* Code style and warning cleanups, from revise_chunks branch.Quincey Koziol2016-11-065-5220/+4867
|
* Add cache logging test.Quincey Koziol2016-11-044-2/+184
|
* Merge pull request #100 in HDFFV/hdf5 from ↵Frank Willmore2016-11-0319-48/+48
|\ | | | | | | | | | | | | ~FRANK.WILLMORE/hdf5:HDFFV-8882-replace-numeric-exit-code-with to develop * commit '526bcc242d03a6fc4fd28d3a0f68cc31f4f2a850': Changes to be committed: modified: bittests.c modified: cmpd_dset.c modified: dsets.c modified: dt_arith.c modified: dtypes.c modified: extend.c modified: fillval.c modified: filter_fail.c modified: flush1.c modified: gen_cross.c modified: hyperslab.c modified: istore.c modified: links.c modified: links_env.c modified: objcopy.c modified: plugin.c modified: tcheck_version.c modified: unlink.c modified: unregister.c
| * Changes to be committed:Frank.Willmore2016-10-2519-48/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: bittests.c modified: cmpd_dset.c modified: dsets.c modified: dt_arith.c modified: dtypes.c modified: extend.c modified: fillval.c modified: filter_fail.c modified: flush1.c modified: gen_cross.c modified: hyperslab.c modified: istore.c modified: links.c modified: links_env.c modified: objcopy.c modified: plugin.c modified: tcheck_version.c modified: unlink.c modified: unregister.c Minor fixes to replace numeric exit codes with MACRO declarations. Not all codes found were boolean, and those cases were not changed.
* | Merge pull request #123 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to developQuincey Koziol2016-11-031-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b2878dec04c120e4e3cdf00e943283e359862c84': Move cache debugging routines into separate module. Change file memory type for extending to default, and correct error in backward compatibility for multi VFD. Warning and whitespace cleanup. Improvements to the log VFD, for helping with SWMR debugging. Minor code cleanups. Uncomment line in test/objcopy.c, clean up whitespace and POSIX call wrapping in tools code.
| * | Uncomment line in test/objcopy.c, clean up whitespace and POSIX call wrappingQuincey Koziol2016-11-031-1/+1
| |/ | | | | | | in tools code.
* | Removed commented-out lines that clean up test files.Dana Robinson2016-11-031-2/+2
| |
* | Added a test for old- and new-style groups under evict-on-close.Dana Robinson2016-10-301-33/+141
| |
* | Evict-on-close now works with groups.Dana Robinson2016-10-281-29/+88
|/ | | | | test/evict_on_close.c has been updated to generate groups but does not yet check EoC works correctly.
* Fixed Windows dsets.c test failure.Dana Robinson2016-10-141-1/+1
| | | | | | | A 'static' keyword was removed from an array that needs it on Windows during a warning removal overhaul. Replacing it fixes the error. Tested on: 64-bit Windows 7 w/ VS 2015
* Revert "Fixed Windows test failures."Dana Robinson2016-10-141-1/+1
| | | | This reverts commit f1dcda5c8e23d4897b5fe49049b8d939313b39c6.
* Fixed Windows test failures.derobins2016-10-141-1/+1
| | | | | | Replaced a static keyword that was deleted during a warnings overhaul. Tested on 64-bit Visual Studio 2015
* Changed H5Dcreate to H5Dcreate2 in test/evict_on_close.cDana Robinson2016-10-011-7/+7
|
* Merge branch 'develop' into evict_on_closeDana Robinson2016-09-3012-114/+385
|\
| * Clean up hardcoded constants and check return values better. (Comments fromQuincey Koziol2016-09-296-43/+62
| | | | | | | | group code review)
| * Description:Quincey Koziol2016-09-291-2/+2
| | | | | | | | | | | | | | | | Cleanups from Dana's review. Tested on: MacOSX/64 10.11.5 (amazon) w/C++ & FORTRAN (h5committest forthcoming)
| * Description:Quincey Koziol2016-09-2712-93/+345
| | | | | | | | Further warning cleanups: from 667 warnings to 503.
* | Added full implementation of EoC cache test.Dana Robinson2016-09-301-13/+30
| |
* | Added code to create the test file for all chunk index and layout types.Dana Robinson2016-09-301-15/+293
| |
* | Fleshed out evict on close test that inspects cache.Dana Robinson2016-09-291-24/+194
| |