diff options
author | deva <deva> | 2010-01-07 08:39:05 +0000 |
---|---|---|
committer | deva <deva> | 2010-01-07 08:39:05 +0000 |
commit | 86a2a3b7450913dc5d5c4f55254aee5239f290b0 (patch) | |
tree | 909034862e7468829ff00dc24f4831953e6d88aa /tools | |
parent | 62aeb9b9b26377967adba4915e744dd8d3104af7 (diff) |
Add some spacing between tests.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test.h b/tools/test.h index 58ebd7d..6fb3e51 100644 --- a/tools/test.h +++ b/tools/test.h @@ -38,7 +38,7 @@ #define TEST_OK(m) { printf(" OK: "m"\n"); } #define TEST_FAIL(m) { printf(" FAIL: "m"\n"); TEST_num_fails++; } -#define TEST_MSG(fmt...) { TEST_num_tests++; printf(fmt); printf(" (line %d)\n", __LINE__); } +#define TEST_MSG(fmt...) { TEST_num_tests++; printf("\n"); printf(fmt); printf(" (line %d)\n", __LINE__); } #define TEST_TRUE(x, fmt...) { TEST_MSG(fmt); \ if(x) { TEST_OK(#x" is true.") } \ |