summaryrefslogtreecommitdiffstats
path: root/test/h5test.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-05-17 05:42:31 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-05-17 05:42:31 (GMT)
commit683cc579ea99564c4ce328614d645b10e00f1bc4 (patch)
treea95ebac16ed28ce68c630adb172bf9dedde76003 /test/h5test.h
parenteddcc2f800db71d4c4309f74f57ed58ae7854727 (diff)
downloadhdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.zip
hdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.tar.gz
hdf5-683cc579ea99564c4ce328614d645b10e00f1bc4.tar.bz2
Misc library test changes from develop.
Diffstat (limited to 'test/h5test.h')
-rw-r--r--test/h5test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.h b/test/h5test.h
index 23991ad..9d57bde 100644
--- a/test/h5test.h
+++ b/test/h5test.h
@@ -103,7 +103,7 @@ H5TEST_DLLVAR MPI_Info h5_io_info_g; /* MPI INFO object for IO */
*/
#define TESTING(WHAT) {HDprintf("Testing %-62s",WHAT); HDfflush(stdout);}
#define TESTING_2(WHAT) {HDprintf(" Testing %-60s",WHAT); HDfflush(stdout);}
-#define PASSED() {HDputs(" PASSED");HDfflush(stdout);}
+#define PASSED() do {HDputs(" PASSED");HDfflush(stdout);} while (0)
#define H5_FAILED() {HDputs("*FAILED*");HDfflush(stdout);}
#define H5_WARNING() {HDputs("*WARNING*");HDfflush(stdout);}
#define SKIPPED() {HDputs(" -SKIP-");HDfflush(stdout);}