summaryrefslogtreecommitdiffstats
path: root/testpar/testpar.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-08-28 16:18:12 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-08-28 16:18:12 (GMT)
commit623e0041a493e2c9937d09de6a0682472fe88d05 (patch)
tree04fa234b6eaabc7b45833b15c41f283576f7a6cb /testpar/testpar.h
parent6fd9deaf78c5c91d0fbd62ecab37506428cd9a6d (diff)
downloadhdf5-623e0041a493e2c9937d09de6a0682472fe88d05.zip
hdf5-623e0041a493e2c9937d09de6a0682472fe88d05.tar.gz
hdf5-623e0041a493e2c9937d09de6a0682472fe88d05.tar.bz2
Mostly whitespace, HD prefix and remove obsolete #if blocks
Diffstat (limited to 'testpar/testpar.h')
-rw-r--r--testpar/testpar.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/testpar/testpar.h b/testpar/testpar.h
index 4fbe8d8..86677d1 100644
--- a/testpar/testpar.h
+++ b/testpar/testpar.h
@@ -32,7 +32,7 @@
*/
#define MESG(mesg) \
if (VERBOSE_MED && *mesg != '\0') \
- HDprintf("%s\n", mesg)
+ HDprintf("%s\n", mesg)
/*
* VRFY: Verify if the condition val is true.
@@ -46,16 +46,17 @@
*/
#define VRFY(val, mesg) do { \
if (val) { \
- MESG(mesg); \
- } else { \
- HDprintf("Proc %d: ", mpi_rank); \
- HDprintf("*** Parallel ERROR ***\n"); \
- HDprintf(" VRFY (%s) failed at line %4d in %s\n", \
+ MESG(mesg); \
+ } \
+ else { \
+ HDprintf("Proc %d: ", mpi_rank); \
+ HDprintf("*** Parallel ERROR ***\n"); \
+ HDprintf(" VRFY (%s) failed at line %4d in %s\n", \
mesg, (int)__LINE__, __FILE__); \
++nerrors; \
fflush(stdout); \
if (!VERBOSE_MED) { \
- HDprintf("aborting MPI processes\n"); \
+ HDprintf("aborting MPI processes\n"); \
MPI_Abort(MPI_COMM_WORLD, 1); \
} \
} \