diff options
Diffstat (limited to 'libgloss/testsuite/config/support.c')
-rw-r--r-- | libgloss/testsuite/config/support.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libgloss/testsuite/config/support.c b/libgloss/testsuite/config/support.c deleted file mode 100644 index 2fc7bcc8c..000000000 --- a/libgloss/testsuite/config/support.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * 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); -} |