mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 03:19:54 +08:00
94c5b430a1
* testsuite/include/check.h: New header file to use with test cases. * testsuite/lib/newlib.exp: Add testsuite/include directory to list of header files to use. * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns. * testsuite/newlib.wctype/wctype.exp: New file.
8 lines
145 B
C
8 lines
145 B
C
#define CHECK(a) { \
|
|
if (!(a)) \
|
|
{ \
|
|
printf ("Failed " #a " in <%s> at line %d\n", __FILE__, __LINE__); \
|
|
abort(); \
|
|
} \
|
|
}
|