summaryrefslogtreecommitdiffstats
path: root/c++/test/h5cpputil.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/test/h5cpputil.h')
-rw-r--r--c++/test/h5cpputil.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/c++/test/h5cpputil.h b/c++/test/h5cpputil.h
index a5477b6..392382d 100644
--- a/c++/test/h5cpputil.h
+++ b/c++/test/h5cpputil.h
@@ -28,15 +28,15 @@ using std::cerr;
using std::endl;
#define MESSAGE(V, A) \
- { \
+ do { \
if (HDGetTestVerbosity() > (V)) \
print_func A; \
- }
+ } while (0)
#define SUBTEST(TEST) \
- { \
+ do { \
printf(" Subtest: %-52s", TEST); \
fflush(stdout); \
- }
+ } while (0)
int check_values(hsize_t i, hsize_t j, int apoint, int acheck);
void check_values(const char *value, const char *msg, int line, const char *file_name);