Welcome to mirror list, hosted at ThFree Co, Russian Federation.

support.c « config « testsuite « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2fc7bcc8c71d04e4132fe74493204399fa1a043a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * support.c -- minimal support functions. This is to keep the exit code
 * 	generic enough that pattern matching from expect should be easier.
 */

#if defined (unix)
#define PRINT printf		/* so we can test on a native system */
#else
#define PRINT iprintf		/* this is only in newlib */
#endif

int
fail (str)
char *str;
{
     PRINT ("FAIL: %s\n", str);
}

int
pass (str)
char *str;
{
     PRINT ("PASS: %s\n", str);
}