summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.h
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-07-13 05:35:14 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-07-13 05:35:14 (GMT)
commit9336c79001284eff9b1c69c3470609542d57e4ff (patch)
tree57ec09b262cfb7ac0f6117a684f0618bcf453d63 /testpar/testphdf5.h
parent46cb3388eaf13420e06ae7319291e19b712f69dc (diff)
downloadhdf5-9336c79001284eff9b1c69c3470609542d57e4ff.zip
hdf5-9336c79001284eff9b1c69c3470609542d57e4ff.tar.gz
hdf5-9336c79001284eff9b1c69c3470609542d57e4ff.tar.bz2
[svn-r483] Revised for alpha-2 release.
Diffstat (limited to 'testpar/testphdf5.h')
-rw-r--r--testpar/testphdf5.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h
index 4a85c8b..c12d8e9 100644
--- a/testpar/testphdf5.h
+++ b/testpar/testphdf5.h
@@ -26,7 +26,11 @@
mesg, (int)__LINE__, __FILE__); \
nerrors++; \
H5Eprint (stdout); \
- if (!verbose) exit(nerrors); \
+ fflush(stdout); \
+ if (!verbose){ \
+ MPI_Finalize(); \
+ exit(nerrors); \
+ } \
} \
H5Eclear(); \
} while(0)