summaryrefslogtreecommitdiffstats
path: root/test/testhdf5.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-08-29 16:59:28 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-08-29 16:59:28 (GMT)
commit3d526ab6cb594c656497fce7efe0589c0f840272 (patch)
tree147f28e7f94c60701a2374c0eb094749e11f6653 /test/testhdf5.h
parent9ada2de83a7a4038e4b3d0e500360eb38ee6ecaa (diff)
downloadhdf5-3d526ab6cb594c656497fce7efe0589c0f840272.zip
hdf5-3d526ab6cb594c656497fce7efe0589c0f840272.tar.gz
hdf5-3d526ab6cb594c656497fce7efe0589c0f840272.tar.bz2
[svn-r51] ./test/tstab.c
./test/tohdr.c ./test/tmeta.c ./test/theap.c ./test/tfile.c ./test/testhdf5.h ./test/testhdf5.c Changed the MESSAGE macro so it doesn't have a semicolon inside the argument list and automatic indentation tools work better. Old call: MESSAGE (5, printfunc("foo%s %d", s, i);); New call: MESSAGE (5, ("foo%s %d", s, i)); The parentheses are required. ./test/tstab.c Added more tests.
Diffstat (limited to 'test/testhdf5.h')
-rw-r--r--test/testhdf5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testhdf5.h b/test/testhdf5.h
index 2a9af68..fb67428 100644
--- a/test/testhdf5.h
+++ b/test/testhdf5.h
@@ -74,7 +74,7 @@ if(ret == FAIL) {print_func("*** UNEXPECTED RETURN from %s is %ld at line %4d in
} while(0)
/* Used to document process through a test */
-#define MESSAGE(v,a) {if (Verbosity>v) {a}}
+#define MESSAGE(V,A) {if (Verbosity>(V)) print_func A;}
/* definitions for command strings */
#define VERBOSITY_STR "Verbosity"