OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [testsuite/] [config/] [support.c] - Blame information for rev 258

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/*
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
 */
5
 
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
11
 
12
int
13
fail (str)
14
char *str;
15
{
16
     PRINT ("FAIL: %s\n", str);
17
}
18
 
19
int
20
pass (str)
21
char *str;
22
{
23
     PRINT ("PASS: %s\n", str);
24
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.