summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_writer.c
diff options
context:
space:
mode:
authorvchoi <vchoi@jelly.ad.hdfgroup.org>2021-06-10 16:46:28 (GMT)
committervchoi <vchoi@jelly.ad.hdfgroup.org>2021-06-10 16:46:28 (GMT)
commita1647afd6030b43049c8f6929c70537e3016ab7c (patch)
tree7f8e9fccd8509d9a80f15619601989dd5c5546c3 /test/vfd_swmr_writer.c
parent3da740a5b8d1f37a5a1492c1defffc609f6c8aba (diff)
downloadhdf5-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_writer.c')
-rw-r--r--test/vfd_swmr_writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vfd_swmr_writer.c b/test/vfd_swmr_writer.c
index 4ebf092..66a412e 100644
--- a/test/vfd_swmr_writer.c
+++ b/test/vfd_swmr_writer.c
@@ -187,7 +187,7 @@ add_records(hid_t fid, hbool_t verbose, FILE *verbose_file, unsigned long nrecor
hid_t file_sid; /* Dataset's space ID */
/* Get a random dataset, according to the symbol distribution */
- symbol = choose_dataset(NULL, NULL);
+ symbol = choose_dataset(NULL, NULL, verbose);
/* Set the record's ID (equal to its position) */
record.rec_id = symbol->nrecords;