summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'canonical/develop' into hpcio/post_open_fixDana Robinson2021-11-037-256/+51
|\
| * OESS-168: Remove clang warnings. (#1146)H. Joe Lee2021-11-021-3/+3
| |
| * OESS-168: Remove clang warnings. (#1135)H. Joe Lee2021-11-021-1/+1
| |
| * Split dir create into separate macro (#1141)Allen Byrne2021-10-282-20/+23
| | | | | | | | | | * Split dir create into separate macro * Correct VFD settings
| * Consolidate VFD create list macro (#1132)Allen Byrne2021-10-261-2/+1
| |
| * Removes the "try free" behavior from the skip lists (#1126)Dana Robinson2021-10-221-208/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removes the "try free" behavior from the skip lists This was only used in the ID code when iterating and a callback could delete IDs. It is not used anywhere else in the library and is now pointless overhead. Also quiets the const warnings when returning stored elements. They only need to be const with respect to the skip list code, which should never modify them. The library can do whatever it wants with the elements it stored. * Formatted source
| * Move test utilities to utils/test folder (#1109)Allen Byrne2021-10-2010-147/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move test utilities to utils/test folder * Fix makefile assignment * Add new dir * add new folder * Correct copied makefile * Fix dir typo * Add missing include dir * Remove unnecessary lib link * Correct dependent dirs * Fix conditional checks * Disable test if not built * fix path to executable * Use fixture for swmr_vfd check * Add release note * Correct shell tests and c++ flag warning * Update autotools c++ warning * Fix typo
| * OESS-168: Remove clang warnings. (#1075)H. Joe Lee2021-10-201-12/+12
| | | | | | | | | | | | | | | | | | * OESS-168: Remove clang warnings. * Committing clang-format changes * OESS-168: Fix CI failure. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
| * OESS-168: Remove clang warnings. (#1072)H. Joe Lee2021-10-151-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-168: Remove clang warnings. * Committing clang-format changes * Address review by @jehndersonHDF. * Address review by @jehndersonHDF. * OESS-168: Fix CI failure. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* | Merge remote-tracking branch 'nersc/post_open_fix' into hpcio/post_open_fixDana Robinson2021-11-021-4/+11
|\ \
| * | Committing clang-format changesgithub-actions2021-10-291-5/+7
| | |
| * | Merge remote-tracking branch 'origin/develop' into post_open_fixQuincey Koziol2021-10-2966-1116/+2292
| |\ \
* | | | Consolidate VFD create list macroAllen Byrne2021-10-221-2/+1
| | | |
* | | | Merge utils changes from developAllen Byrne2021-10-1910-131/+82
| | | |
* | | | Merge branch 'hpcio/post_open_fix' of https://github.com/derobins/hdf5 into ↵Dana Robinson2021-10-142-3/+4
|\ \ \ \ | | | | | | | | | | | | | | | hpcio/post_open_fix
| * | | | Committing clang-format changesgithub-actions2021-10-142-3/+4
| | | | |
* | | | | Reverts rename of SWMR VFD check program, which causes CMake issuesDana Robinson2021-10-149-6/+62
|/ / / /
* | | | Merge remote-tracking branch 'canonical/develop' into hpcio/post_open_fixDana Robinson2021-10-1467-1116/+2290
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | OESS-168: Remove clang warnings. (#1077)H. Joe Lee2021-10-081-1/+1
| | |
| * | OESS-168: Remove clang warnings. (#1076)H. Joe Lee2021-10-081-1/+1
| | |
| * | OESS-168: Remove clang warnings. (#1071)H. Joe Lee2021-10-061-3/+3
| |/ | | | | | | | | * OESS-168: Remove clang warnings. * Address review by @jehndersonHDF.
| * Move HDstrcmp operations inside casting block for PGI compilers (#1063)jhendersonHDF2021-09-301-6/+6
| |
| * VFD plugins (#602)jhendersonHDF2021-09-2967-1181/+2356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement support for loading of Virtual File Drivers as plugins Fix plugin caching for VOL connector and VFD plugins Fix plugin iteration to skip paths that can't be opened * Enable dynamic loading of VFDs with HDF5_DRIVER environment variable * Temporarily disable error reporting during H5F_open double file open * Default to using HDstat in h5_get_file_size for unknown VFDs * Use macros for some environment variables that HDF5 interprets * Update "null" and "ctl testing" VFDs
* | Updated scripts to match changes on developQuincey Koziol2021-09-283-20/+35
| |
* | Merge remote-tracking branch 'origin/develop' into post_open_fixQuincey Koziol2021-09-278-31/+575
|\ \ | |/
| * VFD ctl feature (#981)jhendersonHDF2021-09-232-14/+531
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added "ctl" callback to the VFD interface, and the associated H5FDctl() and H5FD_ctl() calls. Modified the MPIO VFD accordingly -- specifically: Added ctl() call with op-code support to expose rank, size, and communicator. Modified H5FD_mpi_get_rank(), H5FD_mpi_get_size(), and H5FD_mpi_get_comm() to use the new ctl() callback. In passing removed the const qualifier from the file parameter of these functions, as the file parameter of the ctl callback is not const. Deleted the old H5FD__mpio_mpi_rank(), H5FD__mpio_mpi_size(), and H5FD__mpio_communicator() calls from the MPIO VFD. Deleted H5FD_class_mpi_t from H5FDprivate.h, and modified the MPIO VFD accordingly. Note that all VFDs now use H5FD_class_t, with no special class for VFDs that that support MPI. Some minor touch ups to the Neil's selection I/O mods in passing. Tested serial and parallel, debug and production on charis and jelly. * Reserve a range of VFD "ctl" opcodes for library and experimental usage * Add "ctl" callbacks to passthrough VFDs * Add RELEASE.txt entry for "ctl" callback * Use H5FDopen with H5F_ACC_RDWR flag instead of H5F_ACC_TRUNC in vfd test * Remove handling of passthrough "ctl" flag from multi VFD * Move logic for testing H5FD_CTL__TEST_OPCODE into a testing VFD Revise description of "ctl" callback in RELEASE.txt Remove unused H5FD_CTL__NUM_OPCODES definition Fix some warnings in multi VFD Co-authored-by: mainzer <mainzer#hdfgroup.org>
| * Modified gcc/clang warning suppression macros to account for some warnings ↵Sean McBride2021-09-166-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flags being supported by one compiler but not the other (#379) * Committing clang-format changes * Fixed GCC warning suppression pragmas to also work with clang H5_GCC_DIAG_ON remains gcc-only. Added a new H5_CLANG_DIAG_ON that's clang-only, but it's not used anywhere currently. Added a new H5_GCC_CLANG_DIAG_ON that works with both compilers, which afterall support mostly the same warnings. Changed almost all uses of H5_GCC_DIAG_ON to use H5_GCC_CLANG_DIAG_ON, with the exception of a couple, where they really were suppressing gcc-only warnings. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
| * Fix several warnings (#720)jhendersonHDF2021-09-141-1/+1
| |
| * H5Ztrans: (feature) Improved H5Z_xform_noop() and H5Z_xform_create() … (#933)Jan-Willem Blokland2021-09-131-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * H5Ztrans: (feature) Improved H5Z_xform_noop() and H5Z_xform_create() function - Made a small improvement for H5Z_xform_noop() function. Now, the function will also return TRUE if the data transform function expression = "x". For this case, the HDF5 library behaves in a similar fashion as the case when no data transform function has been specified. - Improved the inline documentation of the function H5Z_xform_create() such it is more inline with the rest of the code. * Committing clang-format changes * H5Ztrans: (feature) Added 3 tests for improved H5Z_xform_noop() function - Added serial test with data transform expression = "x" to verify the improved H5Z_xform_noop() function behaves as expected. - Added 2 parallel tests with data transform expression = "x" in combination with a filter. Before, these tests will fail but with the improved H5Z_xform_noop() function they work and result in the expected behavior. - Small bug fix for one of parallel filter tests. * Committing clang-format changes * H5Ztrans: (feature) Added release note about detection of the simple data transform function "x". - Added a brief explanation about the implemented improvement of the detection of the simple data transform function "x" to the RELEASE.txt file. Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* | Merge branch 'develop' into post_open_fixQuincey Koziol2021-08-3133-294/+259
|\ \ | |/
| * More various warnings (#958)Sean McBride2021-08-259-29/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | * Committing clang-format changes * Fixed various -Wdouble-promotion warnings * Fixed -Wshadow warning for `optopt` conflict On macOS at least, there is a global various named `optopt` in unistd.h. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
| * More clang tidy (#908)Sean McBride2021-08-2316-70/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Pacify clang-analyzer-unix.cstring.NullArg * Apply some bugprone-suspicious-string-compare * Apply some readability-simplify-boolean-expr * Apply some readability-make-member-function-const * Apple some bugprone-macro-parentheses * Changed an f suffix to L for `long double` * Applied some readability-uppercase-literal-suffix automatically * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
| * CMake should use the output dir programs for shell scripts (#928)Allen Byrne2021-08-194-144/+52
| |
| * Fixes a bad memory read and unfreed memory in fsinfo code (#893)Dana Robinson2021-08-122-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes a bad memory read and unfreed memory in fsinfo code The segfaul from CVE-2020-10810 was fixed some time ago, but the illegal memory read and unfreed memory were not. This fix tracks some buffer sizes and errors out gracefully on errors, ensuring buffers are cleaned up and avoiding the H5FL infinite loop + abort on library close. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
| * Remove version-check for relnum in H5check. (#812)Allen Byrne2021-07-272-54/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove version-check for relnum in H5check. * Add in release exception code check * Fix typos * Fix more typos * Rework comments * format change * format whitespace * Library version must be less than or equal to headers * Need the NOT version of the compare * Enable release+1 check for PASS * Add release note * Update note
| * Fixes a couple of warnings: (#849)Dana Robinson2021-07-221-0/+1
| | | | | | | | | | | | | | - warn_unused_result warnings from h5jamgentest and j5stat_gentest that were triggered by write(2) calls where we didn't check the return value - A missing callback in the NULL VOL connector - A possibly uninitialized property list pointer
* | Merge remote-tracking branch 'origin/develop' into post_open_fixQuincey Koziol2021-07-143-561/+561
|\ \ | |/
| * OESS-168:Remove implicit conversion warnings. (#829)H. Joe Lee2021-07-121-559/+559
| | | | | | | | | | * OESS-168:Remove implicit conversion increases floating-point precision warnings. * OESS-168:Remove clang warnings.
| * Removes develop header cruft (#828)Dana Robinson2021-07-092-2/+2
| |
* | Fix paths for swmr_compat_vfd utilityQuincey Koziol2021-07-022-2/+2
| |
* | Move utility to check VFD for SWMR compatibility to utils directoryQuincey Koziol2021-07-029-63/+7
| |
* | Rename tool for checking VOL connector compatibilityQuincey Koziol2021-07-021-2/+2
| |
* | Merge remote-tracking branch 'origin/develop' into post_open_fixQuincey Koziol2021-06-303-3/+3
|\ \ | |/
| * Fixes parallel issues from recent C99 changes (#809)Dana Robinson2021-06-303-3/+3
| | | | | | | | | | | | | | * Fixes parallel issues from recent C99 changes * Adds MPE FUNC --> __func__ changes missed in earlier PRs * Even more missed FUNC --> __func__ macros
* | Merge remote-tracking branch 'origin/develop' into post_open_fixQuincey Koziol2021-06-296-306/+331
|\ \ | |/
| * Cleans up POSIX/C bits in H5private.h (#804)Dana Robinson2021-06-292-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * Removes obsolete equivalents of C99's __func__ (#800)Dana Robinson2021-06-295-297/+312
| |
* | Committing clang-format changesgithub-actions2021-06-2810-79/+81
| |
* | Most changes for fixing post open issuesQuincey Koziol2021-06-2812-1229/+1476
|/
* Fixes non-C99 format strings in tarray test code (#766)Dana Robinson2021-06-181-23/+30
|