newlib-cygwin/newlib/testsuite/include/check.h

8 lines
145 B
C

#define CHECK(a) { \
if (!(a)) \
{ \
printf ("Failed " #a " in <%s> at line %d\n", __FILE__, __LINE__); \
abort(); \
} \
}