20000317 sourceware import
This commit is contained in:
4
libgloss/testsuite/config/hppa.mt
Normal file
4
libgloss/testsuite/config/hppa.mt
Normal file
@ -0,0 +1,4 @@
|
||||
MULTILIB=-msoft-float
|
||||
GLOSSDIR=pa
|
||||
SCRIPTS=w89k op50n
|
||||
|
3
libgloss/testsuite/config/m68k.mt
Normal file
3
libgloss/testsuite/config/m68k.mt
Normal file
@ -0,0 +1,3 @@
|
||||
MULTILIB=
|
||||
GLOSSDIR=m68k
|
||||
SCRIPTS=mvme135 idp
|
3
libgloss/testsuite/config/mips.mt
Normal file
3
libgloss/testsuite/config/mips.mt
Normal file
@ -0,0 +1,3 @@
|
||||
MULTILIB=
|
||||
GLOSSDIR=mips
|
||||
SCRIPTS=array
|
24
libgloss/testsuite/config/support.c
Normal file
24
libgloss/testsuite/config/support.c
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user