20000317 sourceware import

This commit is contained in:
Ranjith Kumaran
2000-03-17 22:48:54 +00:00
parent fae4c299f1
commit 03261851a1
420 changed files with 66815 additions and 0 deletions

View File

@ -0,0 +1,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);
}