summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVailin Choi <vchoi@jam.ad.hdfgroup.org>2017-04-13 07:47:23 (GMT)
committerVailin Choi <vchoi@jam.ad.hdfgroup.org>2017-04-13 07:47:23 (GMT)
commit3d1b227a67b557da247f6b683f58617b6d75bfdb (patch)
treedda4a324752674c61cbc15ef8b75db483ff313ba /test
parentf574d627d8122c6ac7dcc16c9fd0d04cf97b6b67 (diff)
downloadhdf5-3d1b227a67b557da247f6b683f58617b6d75bfdb.zip
hdf5-3d1b227a67b557da247f6b683f58617b6d75bfdb.tar.gz
hdf5-3d1b227a67b557da247f6b683f58617b6d75bfdb.tar.bz2
Skip tests for page buffering in test/fheap.c for parallel build
Skip the two tests for page buffering in test/fheap.c because this feature is disabled in parallel. Activate full testing when this feature is re-enabled in the future for parallel build.
Diffstat (limited to 'test')
-rw-r--r--test/fheap.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/test/fheap.c b/test/fheap.c
index d2a7900..e741aad 100644
--- a/test/fheap.c
+++ b/test/fheap.c
@@ -16388,14 +16388,23 @@ main(void)
/*
* Caution when turning on ExpressMode 0:
- * It will activate testing with different combinations of
+ * It will activate testing with different combinations of
* page buffering and file space strategy and the
* running time will be long.
+ * For parallel build, the last two tests for page buffering
+ * are skipped because this feature is disabled in parallel.
+ * Activate full testing when this feature is re-enabled
+ * in the future for parallel build.
*/
if(ExpressMode > 1)
HDprintf("***Express test mode on. Some tests may be skipped\n");
- else if(ExpressMode == 0)
+ else if(ExpressMode == 0) {
+#ifdef H5_HAVE_PARALLEL
+ num_pb_fs = NUM_PB_FS - 2;
+#else
num_pb_fs = NUM_PB_FS;
+#endif
+ }
/* Initialize heap creation parameters */
init_small_cparam(&small_cparam);