summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
Commit message (Collapse)AuthorAgeFilesLines
* VFD SWMR: Normalization with develop (#1078)Dana Robinson2021-10-061-2/+2
| | | Brings many changes from develop, particularly VOL changes for async
* VFD SWMR: Removes dedup callback + cleanup (#842)Dana Robinson2021-07-171-1/+0
| | | | | | | | | | | * HDF5-ification of dedup calls * Removes dedup callback from VFD struct * VFD SWMR library code cleanup * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* VFD SWMR: sync with develop (#830)Dana Robinson2021-07-121-26/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Normalization with develop * Removes checks and work-arounds for strtoll and strtoull (#769) * Removes checks for (v)snprintf, which are C99 (#772) * Update missing release note info. (#776) * Replaces the H5_OVERRIDE macro with override (#773) The macro is no longer necessary now that we require C++11. * Cleans up some POSIX header bits in H5private.h (#783) * Removes outdated checks for ways inline might be defined (#781) These are obsolete now that we require C99. * Removes checks for system(), which is C89/90 (#782) * Removes C++ dependency on H5private.h (#774) * Removes C++ dependency on H5private.h Most C API calls have been removed, aside from a few uses of free, where we just dropped the 'HD'. A couple of H5_ATTR_UNUSED macros were also replaced with (void) statements. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Further simplifies Autotools type size checks (#789) Also fixes an issue where clock_gettime and difftime are not detected due to earlier simplifications of this code. * Release Note (#784) * Normalization of CMake H5pubconf.h with Autotools (#791) Mostly just moving things around and changing the comments to keep the delta small. The only symbol change is that for curl/curl.h which I changed to H5_HAVE_CURL_CURL_H to match the Autotools. This symbol is not used in the library and is just an artifact of the checks. * Fix tools test (#794) * Removes ancient Autotools cruft (#790) * Reorganization of C and POSIX headers in H5public.h & H5private.h (#793) * Reorganization of C and POSIX headers in H5public.h & H5private.h Consolidated and removed duplicates * It turns out Windows has sys/types.h Co-authored-by: Larry Knox <lrknox@hdfgroup.org> * Removes checks for signal and set/longjmp, which are C89 (#798) Also removes checks for setjmp.h and stddef.h * Assume frexpl/f and fabsl/f, which are C99 (#799) * Assume the library has C99 types in C++ type code (#806) * Assume the library has C99 types in C++ type code * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Removes obsolete equivalents of C99's __func__ (#800) * Cleans up POSIX/C bits in H5private.h (#804) * Cleans up POSIX/C bits in H5private.h * Assume difftime exists (C89) * Reorg AC_CHECK_HEADERS so headers are in alphabetical order * Split off networking-related AC_CHECK_HEADERS * Remove unused UNAME_CYGWIN from configure.ac * Remove checks for unused sys/timeb.h * Tidying pass over H5private.h HD prefix macros * Tidy H5win32defs.h * Add HD prefix to various scanf calls * Committing clang-format changes * Fixes to the alarm(2) code used in the tests to make Windows happy Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Brings the tools getopt(3) replacement into the main library (#803) * Moves get_option from the tools library to the C library * Adds H5 prefix to get_option call and variables * Renames the H5_get_option long options struct and enum * Removes type guesses when C99 types are missing (#807) * Assume C99 types exist in H5detect.c (#808) * Fixes parallel issues from recent C99 changes * Adds MPE FUNC --> __func__ changes missed in earlier PRs * Fix typo * Fixes parallel issues from recent C99 changes (#809) * Fixes parallel issues from recent C99 changes * Adds MPE FUNC --> __func__ changes missed in earlier PRs * Even more missed FUNC --> __func__ macros * Removes remaining H5_TIME_WITH_SYS_TIME cruft (#810) Mostly from CMake * Merges with develop * Committing clang-format changes * Normalization with develop * direct_chunk test and H5Dget_chunk_storage_size changes * Removes unused H5O call * Brings some dataspace changes from the combo branch merge Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Much normalization with develop (#701)Dana Robinson2021-05-281-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Brings CMake updates from develop * Brings reduction in pedantic casts from develop * Purges UFAIL from the library (#637) * Committing clang-format changes * Purges UFAIL from the library * H5HL_insert change requested in PR Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Removes gratuitous (double)x.yF casts (#632) * Committing clang-format changes * Removes gratuitous (double)x.yF casts * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Committing clang-format changes * Cleans up a const warning left over from previous constification (#633) * Committing clang-format changes * Adds consts to a few global variables * Cleans up a const warning left over from previous constification Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Formatted source * Bring over some VOL registration changes * VOL cleanup * H5VL_request_status_t substitutions * H5F.c cleanup * Minor API tweaks from develop * Moves H5G package init/teardown to H5Gint.c * H5G cleanup * H5M cleanup * H5SM cleanup * H5T cleanup * H5R cleanup * H5Lpublic.h cleanup * H5L cleanup * H5O cleanup * H5A, H5CS, and H5AC cleanup * Moved H5A init/teardown code to H5Aint.c * Moves H5D I/O functions to H5D.c * H5D cleanup * Misc minor cleanup * H5P close cleanup * H5Tpublic.h cleanup * Fixes err_compat test * H5PLpublic.h cleanup * Updates H5Ppublic.h * H5Fpublic.h updates * H5A.c cleanup * Brings over H5Aexists and related changes * Brings CMake shell testing changes from develop * Close callback changes * H5R and H5Tcommit normalization * err_compat test works now * H5O tweaks * Updates VOL registration code * Brings over H5VL_create_object * H5Tconv.c reformatting * H5T.c tweaks * Brings datatype and reference updates from develop * Brings VOL plugin loading changes from develop * Brings event sets from develop * Brings async functions over * Tools changes * Brings over many tools changes from develop * Brings VOL flags from develop * Fixes h5dump double/float tests * Updates h5repack tests * Brings h5diff test changes from develop * Last h5dump changes * Brings test changes from develop * Committing clang-format changes * Tidied h5_testing() * Brings chunk iteration code + misc from develop * Updates vds test * Enables external link parallel test * Brings updated property lists from develop * H5G changes from develop * H5MF cleanup * Brings vfd_swmr test back into CMake * Updates threadsafe test * Updates plist test * Brings recent changes from develop Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Updates the VOL structDana Robinson2021-05-081-1/+2
|
* Brings native H5Fdelete implementation from developDana Robinson2021-05-051-56/+6
|
* Brings file locking changes from developDana Robinson2021-03-251-1/+59
|
* Updates license url and history docsDana Robinson2021-03-251-1/+1
|
* Formats the source and updates the gcc warning pragmasDana Robinson2021-03-251-380/+411
|
* Brings fixes for splitter VFD test from developDana Robinson2021-03-241-32/+40
|
* 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().