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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [libgloss/] [testsuite/] [config/] [support.c] - Rev 829

Compare with Previous | Blame | View Log

/*
 * 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);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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