summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix a copy-pasto in an error message.David Young2020-07-101-1/+1
|
* Move the dapl initialization to state_init and, if VDS is enabled,David Young2020-07-101-7/+10
| | | | set the virtual view to "first missing."
* Delete unused local variables. Delete an empty line. NFCI.David Young2020-07-101-4/+0
|
* Don't leak a fapl on error.David Young2020-07-101-7/+8
|
* Remove gratuitous local variable initialization: it's better to let theDavid Young2020-07-101-2/+2
| | | | | compiler detect use-before-initialization. Use the safer `memset(p, ..., sizeof(*p))` idiom.
* Straggler from previous: bsdqueue.h -> H5queue.hDavid Young2020-07-101-1/+1
|
* Fix a bug where I was trying to store `ndatasets * 4` source-datasetDavid Young2020-07-071-93/+155
| | | | | handles in 4 variables and, of course, failing. Refactor the dataspace/dataset initialization.
* Use native byte order unless big-endian is specified with `-b` option.David Young2020-07-022-18/+30
|
* Add a VDS mode to the bigset test.David Young2020-06-301-7/+197
|
* Gather a couple of assertions.David Young2020-06-261-2/+1
|
* Create one dataset creation property list and one file dataspace andDavid Young2020-06-261-31/+45
| | | | | share them across all datasets/iterations. Extract common code into state_destroy().
* When extending the dataset in one dimension, add columns instead of rowsDavid Young2020-06-261-22/+23
| | | | | so that it's possible to produce a virtual dataset (VDS) variant of the test.
* (1) Add public routines H5Fvfd_swmr_end_tick, ↵vchoi2020-06-261-581/+1221
| | | | | | H5Fvfd_swmr_disable_end_of_tick, H5Fvfd_swmr_enable_end_of_tick(). (2) Tests for the above APIs.
* Add/check a group attribute every so many steps. delete some dead code, andDavid Young2020-06-221-5/+68
| | | | set a non-zero default for the number of steps.
* Create a dataset access property list (dapl) that disables the chunk cache andDavid Young2020-06-191-5/+13
| | | | | | apply it individually to each dataset instead of setting the chunk-cache parameters on the file. Alas, it didn't make any difference, but I'll keep the change.
* Close all of the datasets we opened.David Young2020-06-161-0/+21
|
* Activate tests `few_big` and `many_small`, now that they pass.David Young2020-06-111-1/+1
|
* Limit every chunk cache to 1 slot and 1kB so that the test doesn't runDavid Young2020-06-111-0/+3
| | | | my dinky development server out of memory.
* Make the test more challenging: on every other step, read a chunk-sizedDavid Young2020-06-111-4/+8
| | | | region offset by 1 unit from a chunk boundary.
* Wrap a line. NFCI.David Young2020-06-111-1/+2
|
* Delete code that has no effect: don't empty a mask set only to fill itDavid Young2020-06-111-3/+2
| | | | in the next expression.
* Delete unused variables and struct members.David Young2020-06-031-4/+0
|
* Be concise and more obviously correct, and knock many line widthsDavid Young2020-06-031-16/+13
| | | | | | | | | | | | | | | | | | | | below than 80 columns: use the malloc idiom, ``` type *p; p = malloc(sizeof(*p)); ``` instead of ``` type *p; p = (type *)malloc(sizeof(type)); ``` Make a similar change to some `memset` calls. NFCI.
* Perform a test where a writer creates 10,000 groups while a reader waits forDavid Young2020-05-281-1/+138
| | | | | | | | each to appear. Add but do not yet perform tests on many small extensible datasets and a few big extensible datasets. Vailin is working on a bug that causes both tests to fail virtually always.
* If there were hard errors, report any soft errors, too.David Young2020-05-281-1/+2
|
* Straggler from previous: don't count errors *and* exit, just count.David Young2020-05-281-7/+0
|
* A zoo error is not a soft error. Count it as a hard error instead of a softDavid Young2020-05-281-1/+1
| | | | error.
* Don't count up errors *and* exit right away when there is an error. JustDavid Young2020-05-281-46/+0
| | | | count.
* Disable the error-stack printing around the H5Gopen() call that we know willDavid Young2020-05-281-0/+3
| | | | sometimes fail.
* Add a test writer that creates groups under the root and a reader that pollsDavid Young2020-05-272-0/+267
| | | | until all of the expected groups appear.
* Delete unused `state_t` members. NFCI.David Young2020-05-271-9/+1
|
* Join some lines. NFCI.David Young2020-05-261-4/+2
|
* Add `-a steps` option and if steps != 0, then add (or verify) an attribute onDavid Young2020-05-261-16/+85
| | | | | | | | | | | | | | | | | each dataset every `steps` steps. Update usage message. Add a cast to `time_t` to quiet a compiler warning. Replace two occurrences of a debug statement in `verify_extensible_dset()` with one occurrence in `verify_chunk()`. Replace the anonymous constant `2` with `hang_back` and increase `hang_back` to 3. XXX Now that I've fixed a bug, reduce `hang_back` to 2, again. Verify datasets in the reverse of the order they are written so that we spend less time re-verifying datasets written in the same step.
* Cast a non-negative `int` to `size_t` before comparing with `size_t` so thatDavid Young2020-05-261-1/+1
| | | | the compiler believes we know what we're doing and does not warn.
* Rebase repair: add stubs.c back to the test library sources.David Young2020-05-201-1/+1
|
* Reduce diffs with `develop`.David Young2020-05-201-1/+1
|
* Reduce diffs with `develop`, where `H5C_move_entry` takes an `H5C_t *`David Young2020-05-203-20/+17
| | | | argument, first, not `H5F_t *`.
* Reduce diffs with `develop`.David Young2020-05-201-10/+10
|
* Reduce diffs with `develop`.David Young2020-05-203-7/+6
|
* Use H5_ATTR_NDEBUG_UNUSED instead of H5_ATTR_SANITY_CHECK.David Young2020-05-201-1/+1
|
* Fix compilation: use H5Oget_info() instead of specifying the versionDavid Young2020-05-201-4/+4
| | | | (H5O_getinfo2).
* Misc warning fixes.Dana Robinson2020-05-204-18/+39
|
* Align contents of CMake and autotools testfile cleanup lists.Quincey Koziol2020-05-202-90/+49
|
* Avoid allocating a chunk index for datasets with 0-sized dimensions, untilQuincey Koziol2020-05-202-20/+214
| | | | the dataset is extended.
* Updates to tools warning PR from code review.Dana Robinson2020-05-201-4/+4
|
* Fixes for warnings in the tools code.Dana Robinson2020-05-201-0/+59
|
* For compatibility with non-C99 Visual Studio versions, use "%" PRIuMAXDavid Young2020-05-201-2/+2
| | | | instead of "%ju".
* Fix `test/swmr_sparse_reader.c:118:77: error: cast from pointerDavid Young2020-05-201-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-05-2067-509/+509
|
* Tidying of Mirror VFD.Jacob Smith2020-05-203-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.