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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [testsuite/] [config/] [support.c] - Diff between revs 158 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 158 Rev 816
/*
/*
 * support.c -- minimal support functions. This is to keep the exit code
 * support.c -- minimal support functions. This is to keep the exit code
 *      generic enough that pattern matching from expect should be easier.
 *      generic enough that pattern matching from expect should be easier.
 */
 */
 
 
#if defined (unix)
#if defined (unix)
#define PRINT printf            /* so we can test on a native system */
#define PRINT printf            /* so we can test on a native system */
#else
#else
#define PRINT iprintf           /* this is only in newlib */
#define PRINT iprintf           /* this is only in newlib */
#endif
#endif
 
 
int
int
fail (str)
fail (str)
char *str;
char *str;
{
{
     PRINT ("FAIL: %s\n", str);
     PRINT ("FAIL: %s\n", str);
}
}
 
 
int
int
pass (str)
pass (str)
char *str;
char *str;
{
{
     PRINT ("PASS: %s\n", str);
     PRINT ("PASS: %s\n", str);
}
}
 
 

powered by: WebSVN 2.1.0

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