Cygwin: fhandler_virtual: move fileid to path_conv member
[newlib-cygwin.git] / libgloss / testsuite / config / support.c
blob2fc7bcc8c71d04e4132fe74493204399fa1a043a
1 /*
2 * support.c -- minimal support functions. This is to keep the exit code
3 * generic enough that pattern matching from expect should be easier.
4 */
6 #if defined (unix)
7 #define PRINT printf /* so we can test on a native system */
8 #else
9 #define PRINT iprintf /* this is only in newlib */
10 #endif
12 int
13 fail (str)
14 char *str;
16 PRINT ("FAIL: %s\n", str);
19 int
20 pass (str)
21 char *str;
23 PRINT ("PASS: %s\n", str);