source:
trunk/libs/newlib/src/newlib/testsuite/include/check.h
@
577
Last change on this file since 577 was 444, checked in by , 6 years ago | |
---|---|
File size: 209 bytes |
Line | |
---|---|
1 | #include <stdio.h> |
2 | #include <stdlib.h> |
3 | |
4 | #define CHECK(a) { \ |
5 | if (!(a)) \ |
6 | { \ |
7 | printf ("Failed " #a " in <%s> at line %d\n", __FILE__, __LINE__); \ |
8 | fflush(stdout); \ |
9 | abort(); \ |
10 | } \ |
11 | } |
Note: See TracBrowser
for help on using the repository browser.