summaryrefslogtreecommitdiffstats
path: root/test/genall5.h
Commit message (Collapse)AuthorAgeFilesLines
* Updates license url and history docsDana Robinson2021-03-251-1/+1
|
* Formats the source and updates the gcc warning pragmasDana Robinson2021-03-251-13/+11
|
* Windows cleanupDana Robinson2021-03-101-23/+39
| | | | | * A splitter VFD test in vfd.c fails * Several vfd_swmr.c tests are #ifdef'd around
* Limit the repeat rate for duplicate zoo warnings to once every fiveDavid Young2020-09-171-4/+8
| | | | seconds.
* Trim trailing whitespaceQuincey Koziol2020-05-201-1/+1
|
* Insert a random delay between zoo-writer test steps. Let us controlDavid Young2020-04-301-0/+1
| | | | | the random seed with an environment variable, H5_ZOO_STEP_SEED, and the maximum delay in milliseconds with a command-line option, `-m ms`.
* Add a `skip compact` configuration for skipping the "zoo" tests forDavid Young2020-04-211-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compact datasets. Bundle the zoo-test configuration into a new type, zoo_config_t. Add a couple new "zoo" test phases, "delete" and "validate-deletion", to the existing "create" and "verify" phases. Give names and numbers to all phases with the new `enum`, `phase_t`, and refactor so that tend_zoo runs a selection of phases at each step. Stub the "delete" and "validate-deletion" phases for most test steps. Actually implement for compact dataset (ds_cpt_i) test. In tend_zoo(), delay for 50 milliseconds after running all steps. Really, this should delay after each step.... Implement vfd_swmr_writer_may_increase_tick_to() and vfd_swmr_reader_did_increase_tick_to() with a file that reader and writer share. The reader saves its current tick number in the shared file. The writer does not advance its tick number past the reader's. Collect some statistics in vfd_swmr_writer_may_increase_tick_to() and print them before the writer exits. Add option flags for skipping compact dataset tests (-C) and for printing error stacks (-e). Update the usage message, which was stale before the new options were added. Delete some dead code. Add #if 0'd-out code for the reader to wait for the writer before running "delete" and "validate-deletion" steps.
* Prepare for reuse in vfd_swmr_zoo_{reader,writer}: inDavid Young2020-03-311-20/+20
| | | | | | validate_zoo()/check_zoo(), instead of checking/modifying the global variable `pass`, just return `false` on failure, `true` on success. Update test `cache_image` to match.
* Let tests provide a "hook" that runs after each step in create_zoo().David Young2020-03-231-0/+6
| | | | Provide a hook in vfd_swmr_zoo_writer that calls H5Fvfd_swmr_end_tick().
* Deduplicate create_zoo() and validate_zoo() and refactor for reuse byDavid Young2020-03-201-2/+4
| | | | | | VFD SWMR tests. This change reduces the length of genall5.c by 171 lines.
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* Add missing filesQuincey Koziol2017-01-291-0/+53