diff options
author | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2021-06-10 16:46:28 (GMT) |
---|---|---|
committer | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2021-06-10 16:46:28 (GMT) |
commit | a1647afd6030b43049c8f6929c70537e3016ab7c (patch) | |
tree | 7f8e9fccd8509d9a80f15619601989dd5c5546c3 /test/vfd_swmr_dsetops_writer.c | |
parent | 3da740a5b8d1f37a5a1492c1defffc609f6c8aba (diff) | |
download | hdf5-a1647afd6030b43049c8f6929c70537e3016ab7c.zip hdf5-a1647afd6030b43049c8f6929c70537e3016ab7c.tar.gz hdf5-a1647afd6030b43049c8f6929c70537e3016ab7c.tar.bz2 |
Reduce running time and verbosity for VFD SWMR tests.
(1) Change choose_dataset() to print out related info based on verbosity.
(2) Modify all routines in legacy and VFD SWMR tests that call choose_dataset().
(3) Modify testvfdswmr.sh.in to run tests based on HDF5TestExpress setting so as to reduce running time.
Diffstat (limited to 'test/vfd_swmr_dsetops_writer.c')
-rw-r--r-- | test/vfd_swmr_dsetops_writer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd_swmr_dsetops_writer.c b/test/vfd_swmr_dsetops_writer.c index 8c21806..cbe78c6 100644 --- a/test/vfd_swmr_dsetops_writer.c +++ b/test/vfd_swmr_dsetops_writer.c @@ -858,7 +858,7 @@ write_dset_contig_chunked(state_t *s, dsets_state_t *ds, H5F_vfd_swmr_config_t * dbgf(2, "Random writes %u to dataset\n", step); newstep = (unsigned int)HDrandom() % (s->rows * s->cols); - printf("Random step is %u\n", newstep); + dbgf(2, "Random step is %u\n", newstep); result = dsets_action(RANDOM_WRITE, s, ds, newstep); if (s->use_np && !np_writer(result, step, s, np, config)) { @@ -1176,7 +1176,7 @@ verify_write_dset_contig_chunked(state_t *s, dsets_state_t *ds, H5F_vfd_swmr_con dbgf(2, "Verify random writes %u to dataset\n", step); newstep = (unsigned int)HDrandom() % (s->rows * s->cols); - printf("Random step is %u\n", newstep); + dbgf(2, "Random step is %u\n", newstep); if (s->use_np && !np_confirm_verify_notify(np->fd_writer_to_reader, step, s, np)) { printf("np_confirm_verify_notify() verify/notify not in sync failed\n"); |