summaryrefslogtreecommitdiffstats
path: root/hl/test/h5hltest.h
diff options
context:
space:
mode:
Diffstat (limited to 'hl/test/h5hltest.h')
-rw-r--r--hl/test/h5hltest.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/hl/test/h5hltest.h b/hl/test/h5hltest.h
index 14f3e14..58b15be 100644
--- a/hl/test/h5hltest.h
+++ b/hl/test/h5hltest.h
@@ -29,21 +29,21 @@
/* Macros used in HL tests */
#define HL_TESTING2(WHAT) \
- { \
+ do { \
HDprintf("Testing %-62s", WHAT); \
HDfflush(stdout); \
- }
+ } while (0)
#define HL_TESTING3(WHAT) \
- { \
+ do { \
HDprintf("Testing %-62s", WHAT); \
HDfflush(stdout); \
- }
+ } while (0)
/* Implements verbose 'assert' with 'goto error' exit */
#define VERIFY(condition, string) \
do { \
if (!(condition)) \
- FAIL_PUTS_ERROR(string) \
+ FAIL_PUTS_ERROR(string); \
} while (0)
int test_packet_table_with_varlen(void);