summaryrefslogtreecommitdiffstats
path: root/test/page_buffer.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-09 20:08:47 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:51 (GMT)
commit6b07d692f43ce271e42b31a44627a657f47a5e9e (patch)
treef4d4a07da083b9f4eb0cd7552c03ed51ac45fe6f /test/page_buffer.c
parenta6e8f34b7b0a8d7a37abc41f9cc7588b7f98cd3f (diff)
downloadhdf5-6b07d692f43ce271e42b31a44627a657f47a5e9e.zip
hdf5-6b07d692f43ce271e42b31a44627a657f47a5e9e.tar.gz
hdf5-6b07d692f43ce271e42b31a44627a657f47a5e9e.tar.bz2
more fix and address comments
Diffstat (limited to 'test/page_buffer.c')
-rw-r--r--test/page_buffer.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/test/page_buffer.c b/test/page_buffer.c
index fb22563..92325f3 100644
--- a/test/page_buffer.c
+++ b/test/page_buffer.c
@@ -41,9 +41,6 @@
#define FILENAME_LEN 1024
-#define NUM_DSETS 5
-#define NX 100
-#define NY 50
/* helper routines */
#ifndef H5_HAVE_PARALLEL
@@ -190,6 +187,7 @@ error:
return false;
}
+#ifndef H5_HAVE_PARALLEL
/*-------------------------------------------------------------------------
* Function: create_file()
@@ -424,6 +422,7 @@ error:
} H5E_END_TRY;
return 1;
}
+#endif
/*
*
@@ -485,6 +484,7 @@ error:
}
+#ifndef H5_HAVE_PARALLEL
/*-------------------------------------------------------------------------
* Function: test_args()
@@ -512,7 +512,6 @@ error:
*-------------------------------------------------------------------------
*/
-#ifndef H5_HAVE_PARALLEL
static unsigned
test_args(hid_t orig_fapl, const char *env_h5_drvr)
{
@@ -667,7 +666,6 @@ error:
} H5E_END_TRY;
return 1;
} /* test_args */
-#endif
/*
@@ -1178,7 +1176,6 @@ error:
*/
/* Changes due to file space page size has a minimum size of 512 */
-#ifndef H5_HAVE_PARALLEL
static unsigned
test_raw_data_handling(hid_t orig_fapl, const char *env_h5_drvr,
bool vfd_swmr_mode)
@@ -1444,7 +1441,6 @@ error:
} H5E_END_TRY;
return 1;
} /* test_raw_data_handling */
-#endif
/*-------------------------------------------------------------------------
@@ -1472,7 +1468,6 @@ error:
*-------------------------------------------------------------------------
*/
-#ifndef H5_HAVE_PARALLEL
static unsigned
test_lru_processing(hid_t orig_fapl, const char *env_h5_drvr)
{
@@ -1709,7 +1704,6 @@ error:
} H5E_END_TRY;
return 1;
} /* test_lru_processing */
-#endif
/*-------------------------------------------------------------------------
@@ -1751,7 +1745,6 @@ error:
*-------------------------------------------------------------------------
*/
-#ifndef H5_HAVE_PARALLEL
static unsigned
test_min_threshold(hid_t orig_fapl, const char *env_h5_drvr)
{
@@ -2445,7 +2438,6 @@ error:
return 1;
} /* test_min_threshold */
-#endif
/*-------------------------------------------------------------------------
@@ -2482,7 +2474,6 @@ error:
*
*-------------------------------------------------------------------------
*/
-#ifndef H5_HAVE_PARALLEL
static unsigned
test_stats_collection(hid_t orig_fapl, const char *env_h5_drvr)
{