summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo for recording the info objectRichard Warren2020-09-301-1/+1
|
* Fix a field declaration in the subfiling_file_tRichard Warren2020-09-301-1/+2
|
* Various edits to remove #if 0 blocks in an effort to make the code a bit cleanerRichard Warren2020-09-271-15/+1
|
* Create a new branch for the September Subfiling deliverableRichard Warren2020-09-254-202/+175
|
* Create a new branch for the September Subfiling deliverableRichard Warren2020-09-25100-2148/+7497
|
* Added skeletal version of H5FDsubfiling.c and H5FDsubfiling.h.inactive/develop_subfilingmainzer2020-07-161-0/+159
| | | | | | | | | | | | | | | These are based on H5FDsec2, and will have to be re-worked heavily for sub-filing. Also added minimal test (based on existing sec2 tests) in test/vfd.c Since sub-filing is mostly a parallel feature, most testing will have to be moved to testpar. That said, a serial version of sub-filing will be neeced eventually, so it makes sense to retain at least a stub in the serial vfd tests. Tested serial and parallel on charis and jelly. Encountered errors in h5diff tests in the parallel builds, but am ignoring them as they also appear in the version prior to this checkin.
* Added support for vector I/O to the VFD layer, and associated test codemainzer2020-06-291-13/+748
| | | | | | | | | | in test/vfd.c. Note that this test uses only sec2 and stdio at present. Since no VFDs support vector I/O at present, the vector I/O VFD calls are translated to regular read/write calls in the VFD layer. Tested serial and parallel, debug and production on charis, parallel debug on jelly. Some seemingly un-related issues, but after consultation with Richard, I'm proceeding with the checkin.
* Merge pull request #2615 in HDFFV/hdf5 from ↵Jake Smith2020-06-151-1/+2
|\ | | | | | | | | | | | | ~JAKE.SMITH/hdf5:bugfix/splitter_valgrind_patch to develop * commit '6462c67b6578e48c1ef6d847be59c0b5e3598a50': Patch a few holes in the Splitter VFD implementation.
| * Patch a few holes in the Splitter VFD implementation.Jacob Smith2020-05-291-1/+2
| | | | | | | | | | * Missing logfile close on driver-open failure. * Initialize empty string in test/vfd (logfile path in W/O compat check).
* | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Larry Knox2020-06-071-7/+7
|\ \ | | | | | | | | | | | | | | | | | | * commit 'aa338c3a87a4544ccb164832422e3e2462a57b88': Detect when there's the same-shaped selection of a single block of elements on both selections, but with different selection types (i.e. one selection defined as an 'all' type and the other as a hyperslab or point type), without falling into the generic selection iteration case. Normalization of H5T.c with 1.10. Normalization of H5D.c with 1.10.
| * | Detect when there's the same-shaped selection of a single block of elements onQuincey Koziol2020-06-051-7/+7
| | | | | | | | | | | | | | | | | | both selections, but with different selection types (i.e. one selection defined as an 'all' type and the other as a hyperslab or point type), without falling into the generic selection iteration case.
* | | Add flags from config/clang-warnings/*general files to H5 C and CXX flags ↵Larry Knox2020-06-061-3/+3
|/ / | | | | | | | | | | | | for all versions of Clang and Clang++ compilers. Switched from cut to awk in testcheck_version.sh.in to avoid dependence on tab vs. " " in version definitions in H5public.h.
* | Normalizations with 1.10 branch.Dana Robinson2020-06-021-4/+4
|/
* Minor tweaks to testhdf5 code after normalization with 1.10.Dana Robinson2020-05-282-45/+45
|
* Misc warning fixes.Dana Robinson2020-05-104-18/+39
|
* Align contents of CMake and autotools testfile cleanup lists.Quincey Koziol2020-05-032-90/+49
|
* Avoid allocating a chunk index for datasets with 0-sized dimensions, untilQuincey Koziol2020-05-012-20/+214
| | | | the dataset is extended.
* Merge pull request #2541 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor ↵Dana Robinson2020-04-271-0/+59
|\ | | | | | | | | | | | | | | | | to develop * commit 'c03ee563f46013d22f36a1895664a9ba876558e9': Further updates to the tools warnings fixes from code review. Updates to tools warning PR from code review. Fixes for warnings in the tools code.
| * Updates to tools warning PR from code review.Dana Robinson2020-04-261-4/+4
| |
| * Fixes for warnings in the tools code.Dana Robinson2020-04-251-0/+59
| |
* | For compatibility with non-C99 Visual Studio versions, use "%" PRIuMAXDavid Young2020-04-241-2/+2
| | | | | | | | instead of "%ju".
* | Fix `test/swmr_sparse_reader.c:118:77: error: cast from pointerDavid Young2020-04-241-2/+2
|/ | | | | | | to integer of different size [-Werror=pointer-to-int-cast]` and `test/snapshots-hdf5/current/test/swmr_sparse_reader.c:129:100: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]`.
* Trim trailing whitespaceQuincey Koziol2020-04-2067-517/+517
|
* Merge branch 'develop' of ↵Jacob Smith2020-04-074-352/+1096
|\ | | | | | | https://bitbucket.hdfgroup.org/scm/~jake.smith/hdf5 into feature/vfd_splitter_mirror_a
| * Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2020-04-071-0/+553
| |\ | | | | | | | | | | | | | | | | | | * commit 'f6514c35ea3786206a8db73e1cad8fce8fe6a715': Updated test ddl files so CMake passes after h5dump failures. Modifications based on PR review feedback. Add two routines gen_ref_files() and gen_sel_files() to generate test files related to references and selections. These test files will be copied to 1.12, 1.10 and 1.8 for compatibility testing.
| | * Merge pull request #2472 in HDFFV/hdf5 from ↵Vailin Choi2020-04-061-0/+553
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~VCHOI/my_third_fork:bugfix/bounds_compat to develop * commit '3f081c99376ad562dcb6bbf7d6c11216f682aca7': Modifications based on PR review feedback. Add two routines gen_ref_files() and gen_sel_files() to generate test files related to references and selections. These test files will be copied to 1.12, 1.10 and 1.8 for compatibility testing.
| | | * Modifications based on PR review feedback.vchoi2020-04-011-71/+51
| | | |
| | | * Add two routines gen_ref_files() and gen_sel_files() to generate test files ↵vchoi2020-03-261-0/+573
| | | | | | | | | | | | | | | | | | | | | | | | | | | | related to references and selections. These test files will be copied to 1.12, 1.10 and 1.8 for compatibility testing.
| * | | Minor updates and fix settings for fortran flagsAllen Byrne2020-04-061-1/+0
| | | |
| * | | TRILAB-192 add c++ and fortran warnings build systems one fileAllen Byrne2020-04-051-3/+15
| |/ /
| * | Merge pull request #2461 in HDFFV/hdf5 from ↵Vailin Choi2020-04-021-348/+388
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | ~VCHOI/my_third_fork:bugfix/dtype_close_on_error to develop * commit 'afdcac28b85d690eebc80ab568fa5266081baaaa': A fix in the cleaning up code for datatype when datatype initialization via H5D__init_type() fails. This is triggered by the tests for revised references when the libver bounds setting does not allow version 4 datatype message to be created. The test failure is abort core dumped. This is due to the datatype initialization fails before the datatype ID is registered. The datatype cleanup code should provide for the above situation. The code to fix the problem is the same as what is done in H5D__open_oid().
| | * | A fix in the cleaning up code for datatype when datatype initialization via ↵vchoi2020-03-231-348/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | H5D__init_type() fails. This is triggered by the tests for revised references when the libver bounds setting does not allow version 4 datatype message to be created. The test failure is abort core dumped. This is due to the datatype initialization fails before the datatype ID is registered. The datatype cleanup code should provide for the above situation. The code to fix the problem is the same as what is done in H5D__open_oid().
| * | | Refactor to reduce verbosity.Quincey Koziol2020-03-261-55/+33
| | |/ | |/|
| * | Correct macro checkQuincey Koziol2020-03-251-1/+1
| | |
| * | Correct failure when allocation tracking are disabled.Quincey Koziol2020-03-241-0/+12
| | |
| * | Revise API for H5get_alloc_stats() to take a struct instead of separate values.Quincey Koziol2020-03-201-38/+30
| | |
| * | Merge remote-tracking branch 'origin/develop' into alloc_statsQuincey Koziol2020-03-201-1/+20
| |\ \ | | |/
| | * Fix threadsafe for new testAllen Byrne2020-03-181-1/+20
| | |
| * | Add routines to query the library's free list sizes and allocation stats.Quincey Koziol2020-03-101-0/+139
| |/
* | Tidying of Mirror VFD.Jacob Smith2020-04-073-30/+51
| | | | | | | | | | | | | | * Rename server-stop utility to mirror_server_stop. * Remove external dependency on bzero(). * Modify test/use_common to use only the public API. * Rename internal bitswap macro to follow convention.
* | Add Splitter VFD to library.Jacob Smith2020-03-1313-557/+5011
|/ | | | | | | | | | | | | | | * "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).
* So that I can use PASSED(); anywhere a statement can go, #define PASSED() withDavid Young2020-02-2814-248/+247
| | | | a do-while wrapper.
* Complete the comment on thread_main(), explaining why the barrier is used.David Young2020-02-271-1/+9
|
* The first implementation seemed to allow for the possibility that a threadDavid Young2020-02-271-1/+8
| | | | | | | | | could block at the barrier, wake and exit the barrier, re-acquire the barrier lock and increase `nentered` before the other blocked threads woke and checked `nentered % count == 0`. Then the other blocked threads would check `nentered % count == 0` and, finding it false, go back to sleep in the barrier. This new implementation waits for a looser condition to obtain so that threads don't go back to sleep in the barrier.
* Test the right condition for the EBUSY return in pthread_barrier_destroy().David Young2020-02-271-1/+1
|
* s/exit_failure/EXIT_FAILURE/gDavid Young2020-02-271-2/+2
|
* Implement pthread_barrier(3) for Darwin using a counter, condition variable,David Young2020-02-271-0/+123
| | | | and mutex. Untested.
* TRILAB-142 Change minimum CMake version to 3.12Allen Byrne2020-02-211-1/+1
|
* Merge pull request #2367 in HDFFV/hdf5 from ~DYOUNG/werror:unused to developDavid Young2020-02-195-8/+9
|\ | | | | | | | | | | | | * commit '50aac126d7c4082c2aeb0f3a68cad26bd1cd9783': Start to document the function/parameter/variable attribute macros. Filter all of the new _USED / _UNUSED type modifiers. H5_HAVE_PARALLEL, _DEBUG_API, etc. Add attributes to some variables and parameters that are unused under some configurations.
| * H5_HAVE_PARALLEL, _DEBUG_API, etc. Add attributes to some variables andDavid Young2020-02-105-8/+9
| | | | | | | | parameters that are unused under some configurations.