diff options
Diffstat (limited to 'test/src/test-common.h')
-rw-r--r-- | test/src/test-common.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/test/src/test-common.h b/test/src/test-common.h index 925a63d..b780c64 100644 --- a/test/src/test-common.h +++ b/test/src/test-common.h @@ -1,23 +1,10 @@ #ifndef TEST_SRC_TEST_COMMON_H_ #define TEST_SRC_TEST_COMMON_H_ -#include <stdio.h> -#include <stdlib.h> -#include <errno.h> - #include "uv.h" #include "uv_link_t.h" #include "test-list.h" - -#define CHECK(VALUE, MESSAGE) \ - do { \ - if ((VALUE)) break; \ - fprintf(stderr, "Assertion failure: " #MESSAGE "\n"); \ - abort(); \ - } while (0) - -#define CHECK_EQ(A, B, MESSAGE) CHECK((A) == (B), MESSAGE) -#define CHECK_NE(A, B, MESSAGE) CHECK((A) != (B), MESSAGE) +#include "mini/test.h" #endif /* TEST_SRC_TEST_COMMON_H_ */ |