From 86a2a3b7450913dc5d5c4f55254aee5239f290b0 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 7 Jan 2010 08:39:05 +0000 Subject: Add some spacing between tests. --- tools/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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.") } \ -- cgit v1.2.3