summaryrefslogtreecommitdiffstats
path: root/test/swmr_common.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-05-17 05:42:31 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-05-17 05:42:31 (GMT)
commit683cc579ea99564c4ce328614d645b10e00f1bc4 (patch)
treea95ebac16ed28ce68c630adb172bf9dedde76003 /test/swmr_common.c
parenteddcc2f800db71d4c4309f74f57ed58ae7854727 (diff)
downloadhdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.zip
hdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.tar.gz
hdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.tar.bz2
Misc library test changes from develop.
Diffstat (limited to 'test/swmr_common.c')
-rw-r--r--test/swmr_common.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/swmr_common.c b/test/swmr_common.c
index b323769..7ae1fad 100644
--- a/test/swmr_common.c
+++ b/test/swmr_common.c
@@ -26,6 +26,7 @@
#include "h5test.h"
#include "swmr_common.h"
+#include "vds_swmr.h"
/*******************/
/* Local Variables */
@@ -73,6 +74,27 @@ unsigned symbol_count[NLEVELS] = {100, 200, 400, 800, 1600};
/* Array of dataset information entries (1 per dataset) */
symbol_info_t *symbol_info[NLEVELS];
+hsize_t PLANES[N_SOURCES][RANK] = {
+ {1, SM_HEIGHT, WIDTH},
+ {1, LG_HEIGHT, WIDTH},
+ {1, SM_HEIGHT, WIDTH},
+ {1, LG_HEIGHT, WIDTH},
+ {1, SM_HEIGHT, WIDTH},
+ {1, LG_HEIGHT, WIDTH}
+};
+
+char FILE_NAMES[N_SOURCES][NAME_LEN] = {
+ {"vds_swmr_src_a.h5"},
+ {"vds_swmr_src_b.h5"},
+ {"vds_swmr_src_c.h5"},
+ {"vds_swmr_src_d.h5"},
+ {"vds_swmr_src_e.h5"},
+ {"vds_swmr_src_f.h5"}
+};
+
+char VDS_FILE_NAME[NAME_LEN] = "vds_swmr.h5";
+char SOURCE_DSET_PATH[NAME_LEN] = "/source_dset";
+char VDS_DSET_NAME[NAME_LEN] = "vds_dset";
/*-------------------------------------------------------------------------
* Function: choose_dataset