summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'aug-develop' into aug-merge-attempt/feature/vfd_swmrDavid Young2020-08-041-20/+87
|\
| * * Fix intermittent error with Splitter VFD.Jacob Smith2020-06-251-20/+87
| | | | | | | | | | | | | | | | Mismatch in time of test file creation was creating false negatives. Add file-duplication routine: `h5_duplicate_file_by_bytes()`. * Change library calls in `h5test.c:h5_compare_file_bytes()` to their HD-prefixed equivalents.
| * Trim trailing whitespaceQuincey Koziol2020-04-201-1/+1
| |
| * Add Splitter VFD to library.Jacob Smith2020-03-131-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * "Simultaneous and equivalent" Read-Write and Write-Only channels for file I/O. * Only supports drivers with the H5FD_FEAT_DEFAULT_VFD_COMPATIBLE flag for now, preventing issues with multi-file drivers. Add Mirror VFD to library. * Write-only operations over a network. * Uses TCP/IP sockets. * Server and auxiliary server-shutdown programs provided in a new directory, `utils/mirror_vfd`. * Automated testing via loopback ("remote" of localhost).
| * Change thread IDs to uint64_t from unsigned long, per Quincey's suggestion.David Young2020-02-031-1/+1
| | | | | | | | | | Fix a typo in the H5TS_thread_init() comment and reword some ID properties.
| * Replace pthread_self_ulong() with H5TS_thread_id(). The POSIX ThreadsDavid Young2020-02-031-3/+1
| | | | | | | | | | implementation ought to be portable to any system that has POSIX Threads. On Windows, I use the same API call as before.
| * Merge branch 'develop' into misckmu2020-01-291-6/+4
| |\
| | * Reduce differences between my -Werror branch and `develop`:David Young2020-01-291-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | Rename index -> idx, fileno -> fnumber, fileno -> fno to avoid GCC shadowed declaration warnings about index(3). Convert #pragma GCC diagnostic push/pop/ignored to the HDF5 library's H5_GCC_DIAG_OFF()/H5_GCC_DIAG_ON() macros.
| * | fix unused function warningkmu2020-01-281-0/+60
| |/
| * Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-2/+2
| |
| * Merge branch 'develop' into bugfix/intel_warningskmu2019-12-091-4/+4
| |\
| | * Yanked -Wc++-compat from the flags used to build the C library in bothDana Robinson2019-12-041-4/+4
| | | | | | | | | | | | the Autotools and CMake.
| * | fix intel compile warningskmu2019-12-041-2/+1
| | |
| * | Revert "fix warnings and some text alignment"kmu2019-11-261-12/+14
| | | | | | | | | | | | This reverts commit d06474c4e1ba8628f896e57e619d4b142e6ba8b0.
| * | fix warnings and some text alignmentkmu2019-11-111-14/+12
| |/
| * Update versioning to next major versionAllen Byrne2019-09-251-1/+2
| |
| * fix get gethostname for windowsAllen Byrne2019-08-281-1/+1
| |
| * Add HD prefix to testsAllen Byrne2019-08-151-67/+67
| |
| * Merge reconciliation and VFD test fixesAllen Byrne2019-08-041-2/+0
| |
| * Updates to warnhist script, along with a few cleanups, and add some commentsQuincey Koziol2019-07-101-1/+20
| | | | | | | | to warning cleanups that are a bit obscure.
| * Add support for GCC9, update warnhist script, and clean up warnings.Quincey Koziol2019-07-031-1/+1
| |
| * Missed an env check before strcmp.Dana Robinson2019-04-291-1/+1
| |
| * Fix for split VFD and file cleanup when testing H5Fis_hdf5Dana Robinson2019-04-261-4/+26
| | | | | | | | and H5Fis_accessible in tfile.c.
| * Improvements to the H5Fis_accessible() and H5Fis_hdf5() testsDana Robinson2019-04-251-11/+45
| | | | | | | | | | | | in tfile.c. * General code tidying. * Expanded tests to work with multi-file VFDs.
| * Set V112 as the latest format and extend the arrays of version bounds.Vailin Choi2019-04-041-0/+25
| |
| * Specify the default VOL connector to use with an environment variable.Quincey Koziol2019-03-101-118/+0
| | | | | | | | | | | | | | | | This implicitly adds support for changing the VOL connector for command-line tools or any application linked with the library. Also, add 'make check-vol' support for all directories, clearing up necessary issues in testing scripts, etc.
| * Merge branch 'develop' into c_stdlib_posix_call_cleanupDana Robinson2019-02-191-13/+39
| |\
| | * Work around compiler fussiness on platypus.Quincey Koziol2019-01-111-13/+39
| | |
| * | C and POSIX call cleanupDana Robinson2019-01-111-6/+6
| |/
| * Corrected comment in src/H5VLint.c, fixed pass-through info size inQuincey Koziol2019-01-061-0/+44
| | | | | | | | | | | | | | src/H5VLpassthru.c, switched to stashing VOL connector ID & info in API context (in src/H5CX.c, src/H5CXprivate.h, src/H5F.c, src/H5Fint.c, and src/H5Fefc.c), patched up all sorts of issues in the tests, to make them work with 'check-vfd' (and 'check-vol' again).
| * Merge branch 'develop' into openmpi_tweaksDana Robinson2018-12-311-43/+4
| |\
| | * Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-271-2/+2
| | |\
| | * \ Merge branch 'develop' of ↵Jacob Smith2018-12-191-14/+19
| | |\ \ | | | | | | | | | | | | | | | https://bitbucket.hdfgroup.org/scm/~jake.smith/hdf5 into dset_ohdr_minimize
| | * \ \ Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-181-6/+9
| | |\ \ \
| | * \ \ \ Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-121-155/+269
| | |\ \ \ \
| | * | | | | Remove redundant code and refactorJacob Smith2018-09-121-43/+4
| | | | | | |
| * | | | | | Added a shell script so we can run the parallel flush testDana Robinson2018-12-201-1/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | on OpenMPI.
| * | | | | Correct core VFD to run with a 1MB increment instead of a 1 byte increment!Quincey Koziol2018-12-191-2/+2
| | |_|_|/ | |/| | |
| * | | | Updates the autotools tests to also emit the VOL connectorDana Robinson2018-12-161-14/+19
| | |_|/ | |/| | | | | | | | | | for each test.
| * | | Fix plugin code from referencing invalid key ID value, and also switch fromQuincey Koziol2018-12-131-6/+9
| | |/ | |/| | | | | | | | | | strtok() to strtok_r() to avoid possible interference with / to application use of strtok().
| * | Add a couple of missing prototypes for static routines, along with updatingQuincey Koziol2018-11-301-6/+6
| | | | | | | | | | | | a comment from VOL plugin -> connector.
| * | Add support for "make check-vol", along with a few minor cleanups, etc.Quincey Koziol2018-11-291-2/+11
| | |
| * | Refactor infrastructure for setting FAPL information from environmentQuincey Koziol2018-11-281-147/+213
| | | | | | | | | | | | | | | | | | variables during testing, including connecting native, pass-through, and dynamically loaded VOL connectors. Also bring native and pass-through VOL connectors into alignment, removing the "H5VLnative_private.h" header.
| * | Updates after merging changes from develop.Quincey Koziol2018-10-261-5/+5
| | |
| * | Updates to the VOL ID and object API calls.Dana Robinson2018-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings the H5VL code in line with the H5I code regarding naming, parameter order, etc. Several public API calls were affected by this change. These changed names to reflect their use with VOL drivers: H5VLregister() --> H5VLregister_driver() H5VLregister_by_name() --> H5VLregister_driver_by_name() H5VLunregister() --> H5VLunregister_driver() H5VLis_registered() --> H5VLis_driver_registered() This call was renamed to match H5Iregister(). The order of the first two parameters also reversed and the object pointer is now const. H5VLobject_register() --> H5VLregister()
| * | VOL FEATUREDana Robinson2018-10-101-0/+43
| | |
* | | Change H5F_open to perform deduplication of open VFDs in a more flexible way,David Young2020-07-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using the new routine H5FDdeduplicate(). Simplify H5F_open() a bit, pushing some of the configuration checks into the SMWR VFD. For example, check that page buffering is enabled in H5FD_vfd_swmr_open() instead of in H5F_open(). Compare VFD SWMR configurations in H5FD_vfd_swmr_dedup() instead of in H5F_open(). Clone the default file-access property list at a new file-access property list ID, H5P_FILE_ACCESS_ANY_VFD. The new ID is used to indicate that if the file that's being opened is already open under an existing virtual file, and if that virtual file would not ordinarily be opened with the default FAPL, then it's ok to use that virtual file. Add a new optional method, `dedup`, to H5FD_class_t, and use it to customize a VFD's deduplication. Customize the SWMR VFD's deduplication. Make it honor H5P_FILE_ACCESS_ANY_VFD Embed the VFD SWMR configuration in the H5FD_vfd_swmr_t to facilitate comparison of configuration between new and old SWMR virtual files. In H5F__sfile_search(), match using a pointer comparison instead of H5FD_cmp(), because we will only ever enter H5F__sfile_search() with a deduplicated H5FD_t *.
* | | Trim trailing whitespaceQuincey Koziol2020-05-201-1/+1
| | |
* | | Add Splitter VFD to library.Jacob Smith2020-05-201-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * "Simultaneous and equivalent" Read-Write and Write-Only channels for file I/O. * Only supports drivers with the H5FD_FEAT_DEFAULT_VFD_COMPATIBLE flag for now, preventing issues with multi-file drivers. Add Mirror VFD to library. * Write-only operations over a network. * Uses TCP/IP sockets. * Server and auxiliary server-shutdown programs provided in a new directory, `utils/mirror_vfd`. * Automated testing via loopback ("remote" of localhost).
* | | Change thread IDs to uint64_t from unsigned long, per Quincey's suggestion.David Young2020-05-201-1/+1
| | | | | | | | | | | | | | | Fix a typo in the H5TS_thread_init() comment and reword some ID properties.