summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-03-26 23:16:38 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-03-26 23:16:38 (GMT)
commit0a73f3dd4b33abbd3ea9b024442e40ae05e56549 (patch)
tree4d4b5db05bca88459dc333cd3da57e0816419370 /testpar
parent0011a5e758c2efa386fbeaa81553852c90c48e86 (diff)
downloadhdf5-0a73f3dd4b33abbd3ea9b024442e40ae05e56549.zip
hdf5-0a73f3dd4b33abbd3ea9b024442e40ae05e56549.tar.gz
hdf5-0a73f3dd4b33abbd3ea9b024442e40ae05e56549.tar.bz2
Fixed 1.6 compatibility issues and ran source formatter
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_cache_image.c3
-rw-r--r--testpar/t_file.c2
-rw-r--r--testpar/testphdf5.h5
3 files changed, 4 insertions, 6 deletions
diff --git a/testpar/t_cache_image.c b/testpar/t_cache_image.c
index 4ca38f7..1fbfbd4 100644
--- a/testpar/t_cache_image.c
+++ b/testpar/t_cache_image.c
@@ -1143,8 +1143,7 @@ open_hdf5_file(const hbool_t create_file, const hbool_t mdci_sbem_expected, cons
pass = FALSE;
failure_mssg = "page buffer unexepectedly enabled.";
}
- else if ((file_ptr->shared->pb_ptr != NULL) &&
- ((enable_page_buffer) || (l_facc_type != FACC_MPIO))) {
+ else if ((file_ptr->shared->pb_ptr != NULL) && ((enable_page_buffer) || (l_facc_type != FACC_MPIO))) {
pass = FALSE;
failure_mssg = "page buffer unexepectedly disabled.";
diff --git a/testpar/t_file.c b/testpar/t_file.c
index 2c9bd03..d948804 100644
--- a/testpar/t_file.c
+++ b/testpar/t_file.c
@@ -639,7 +639,7 @@ open_file(const char *filename, hid_t fapl, int metadata_write_strategy, hsize_t
MPI_Barrier(MPI_COMM_WORLD);
- VRFY((f->shared->pb_ptr!= NULL), "");
+ VRFY((f->shared->pb_ptr != NULL), "");
VRFY((f->shared->pb_ptr->page_size == page_size), "");
VRFY((f->shared->pb_ptr->max_size == page_buffer_size), "");
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h
index 54accc1..9aa51c1 100644
--- a/testpar/testphdf5.h
+++ b/testpar/testphdf5.h
@@ -97,8 +97,7 @@ enum H5TEST_COLL_CHUNK_API {
#define MSPACE1_RANK 1 /* Rank of the first dataset in memory */
#define MSPACE1_DIM 27000 /* Dataset size in memory */
#define FSPACE_RANK 2 /* Dataset rank as it is stored in the file */
-#define FSPACE_DIM1 \
- 9 /* Dimension sizes of the dataset as it is stored in the file */
+#define FSPACE_DIM1 9 /* Dimension sizes of the dataset as it is stored in the file */
#define FSPACE_DIM2 \
3600 /* We will read dataset back from the file to the dataset \
in memory with these dataspace parameters. */
@@ -247,7 +246,7 @@ void collective_group_write(void);
void independent_group_read(void);
void test_fapl_mpio_dup(void);
void test_split_comm_access(void);
-//void test_page_buffer_access(void);
+// void test_page_buffer_access(void);
void dataset_atomicity(void);
void dataset_writeInd(void);
void dataset_writeAll(void);