summaryrefslogtreecommitdiffstats
path: root/testpar/t_dset.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-08-09 18:09:56 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-08-09 18:09:56 (GMT)
commitc3247876b11e85af59ac83fbb9d6d206d482cfbe (patch)
treeedba94708b0b2ddc442e0fd0c4e039c954ef2054 /testpar/t_dset.c
parentfcdc7614d7bc66e2715871b521a9bb577d49af48 (diff)
downloadhdf5-c3247876b11e85af59ac83fbb9d6d206d482cfbe.zip
hdf5-c3247876b11e85af59ac83fbb9d6d206d482cfbe.tar.gz
hdf5-c3247876b11e85af59ac83fbb9d6d206d482cfbe.tar.bz2
[svn-r22651] fix a bug that would skip or include the parallel atomicity test with cmd arguments -o or -x
Diffstat (limited to 'testpar/t_dset.c')
-rw-r--r--testpar/t_dset.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c
index 456c01e..84d69b0 100644
--- a/testpar/t_dset.c
+++ b/testpar/t_dset.c
@@ -3088,8 +3088,12 @@ dataset_atomicity(void)
dim0 = 64; dim1 = 32;
filename = GetTestParameters();
+ if (facc_type != FACC_MPIO) {
+ printf("Atomicity tests will not work without the MPIO VFD\n");
+ return;
+ }
if(VERBOSE_MED)
- printf("Independent write test on file %s\n", filename);
+ printf("atomic writes to file %s\n", filename);
/* set up MPI parameters */
MPI_Comm_size(MPI_COMM_WORLD,&mpi_size);