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_remove_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_remove_writer.c')
-rw-r--r-- | test/vfd_swmr_remove_writer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vfd_swmr_remove_writer.c b/test/vfd_swmr_remove_writer.c index fdfcf3c..ef9fada 100644 --- a/test/vfd_swmr_remove_writer.c +++ b/test/vfd_swmr_remove_writer.c @@ -185,7 +185,7 @@ remove_records(hid_t fid, unsigned verbose, unsigned long nshrinks, unsigned lon hsize_t remove_size; /* Size to reduce dataset dimension by */ /* Get a random dataset, according to the symbol distribution */ - symbol = choose_dataset(NULL, NULL); + symbol = choose_dataset(NULL, NULL, verbose); /* Shrink the dataset's dataspace */ remove_size = (hsize_t)HDrandom() % MAX_REMOVE_SIZE + 1; |