diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2001-10-07 13:24:57 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2001-10-07 13:24:57 +0000 |
commit | e4d6e144ef867fb2f005e1246b759608a491a2bf (patch) | |
tree | 404ee8253ce8e2aec42e22eca1a4da4ba317fa27 /regress/gnu | |
parent | 363e702277b31eecb94cf5ec9a04bff4079b9dbe (diff) |
gcc regress framework.
Diffstat (limited to 'regress/gnu')
-rw-r--r-- | regress/gnu/Makefile | 9 | ||||
-rw-r--r-- | regress/gnu/egcs/Makefile | 9 | ||||
-rw-r--r-- | regress/gnu/egcs/Makefile.inc | 3 | ||||
-rw-r--r-- | regress/gnu/egcs/gcc/Makefile | 26 | ||||
-rw-r--r-- | regress/gnu/egcs/libf2c/Makefile | 34 | ||||
-rw-r--r-- | regress/gnu/egcs/libiberty/Makefile | 27 |
6 files changed, 108 insertions, 0 deletions
diff --git a/regress/gnu/Makefile b/regress/gnu/Makefile new file mode 100644 index 00000000000..cc07b7798de --- /dev/null +++ b/regress/gnu/Makefile @@ -0,0 +1,9 @@ +# $OpenBSD: Makefile,v 1.1 2001/10/07 13:24:56 espie Exp $ + +SUBDIR+= egcs + +regress: _SUBDIRUSE + +install: + +.include <bsd.subdir.mk> diff --git a/regress/gnu/egcs/Makefile b/regress/gnu/egcs/Makefile new file mode 100644 index 00000000000..15ad3966376 --- /dev/null +++ b/regress/gnu/egcs/Makefile @@ -0,0 +1,9 @@ +# $OpenBSD: Makefile,v 1.1 2001/10/07 13:24:56 espie Exp $ + +SUBDIR+= gcc libiberty libf2c + +regress: _SUBDIRUSE + +install: + +.include <bsd.subdir.mk> diff --git a/regress/gnu/egcs/Makefile.inc b/regress/gnu/egcs/Makefile.inc new file mode 100644 index 00000000000..32879c363f3 --- /dev/null +++ b/regress/gnu/egcs/Makefile.inc @@ -0,0 +1,3 @@ +# $OpenBSD: Makefile.inc,v 1.1 2001/10/07 13:24:56 espie Exp $ + +RUNTEST=/usr/local/bin/runtest diff --git a/regress/gnu/egcs/gcc/Makefile b/regress/gnu/egcs/gcc/Makefile new file mode 100644 index 00000000000..4a41b160d5e --- /dev/null +++ b/regress/gnu/egcs/gcc/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.1 2001/10/07 13:24:56 espie Exp $ + +NOMAN= +NOPROG= + +TESTDIR=${BSDSRCDIR}/gnu/egcs/gcc + +regress: + @if ${RUNTEST} --help >/dev/null; then \ + if ${RUNTEST} --version|grep 'Framework version is.*1.3$$' >/dev/null; then \ + echo "Error: you must have a dejagnu more recent than 1.3"; \ + echo "For instance: ${PORTSDIR}/lang/egcs/dejagnu."; \ + else \ + cd ${TESTDIR} && ${MAKE} -f Makefile.bsd-wrapper && \ + ${MAKE} check RUNTEST=${RUNTEST}; \ + fi; \ + else \ + echo "Error: you must have a dejagnu more recent than 1.3 to run this test."; \ + echo " You can install the package from the ftp site or recompile it"; \ + echo " from the ports tree (${PORTSDIR}/lang/egcs/dejagnu)."; \ + fi + + +.include <bsd.prog.mk> + +PORTSDIR?=/usr/ports diff --git a/regress/gnu/egcs/libf2c/Makefile b/regress/gnu/egcs/libf2c/Makefile new file mode 100644 index 00000000000..3d7d09698a8 --- /dev/null +++ b/regress/gnu/egcs/libf2c/Makefile @@ -0,0 +1,34 @@ +# $OpenBSD: Makefile,v 1.1 2001/10/07 13:24:56 espie Exp $ + +NOMAN= +NOPROG= + + +TESTDIR=${BSDSRCDIR}/gnu/egcs/libf2c +TEST2DIR=${BSDSRCDIR}/gnu/egcs/gcc + +# We don't even try to run without objdir +TEST3DIR=${BSDOBJDIR}/gnu/egcs/libf2c/libU77 +TEST4DIR=${BSDOBJDIR}/gnu/egcs/gcc/ + + +regress: + @if ${RUNTEST} --help >/dev/null; then \ + if ${RUNTEST} --version|grep 'Framework version is.*1.3$$' >/dev/null; then \ + echo "Error: you must have a dejagnu more recent than 1.3"; \ + echo "For instance: ${PORTSDIR}/lang/egcs/dejagnu."; \ + else \ + cd ${TESTDIR} && ${MAKE} -f Makefile.bsd-wrapper && \ + cd ${TEST2DIR} && ${MAKE} -f Makefile.bsd-wrapper && \ + cd ${TEST3DIR} && ${MAKE} G77DIR=${TEST4DIR} check RUNTEST=${RUNTEST}; \ + fi; \ + else \ + echo "Error: you must have a dejagnu more recent than 1.3 to run this test."; \ + echo " You can install the package from the ftp site or recompile it"; \ + echo " from the ports tree (${PORTSDIR}/lang/egcs/dejagnu)."; \ + fi + + +.include <bsd.prog.mk> + +PORTSDIR?=/usr/ports diff --git a/regress/gnu/egcs/libiberty/Makefile b/regress/gnu/egcs/libiberty/Makefile new file mode 100644 index 00000000000..5b0fe506bd0 --- /dev/null +++ b/regress/gnu/egcs/libiberty/Makefile @@ -0,0 +1,27 @@ +# $OpenBSD: Makefile,v 1.1 2001/10/07 13:24:56 espie Exp $ + +NOMAN= +NOPROG= + +TESTDIR=${BSDSRCDIR}/gnu/egcs/libiberty + + +regress: + @if ${RUNTEST} --help >/dev/null; then \ + if ${RUNTEST} --version|grep 'Framework version is.*1.3$$' >/dev/null; then \ + echo "Error: you must have a dejagnu more recent than 1.3"; \ + echo "For instance: ${PORTSDIR}/lang/egcs/dejagnu."; \ + else \ + cd ${TESTDIR} && ${MAKE} -f Makefile.bsd-wrapper && \ + ${MAKE} check RUNTEST=${RUNTEST}; \ + fi; \ + else \ + echo "Error: you must have a dejagnu more recent than 1.3 to run this test."; \ + echo " You can install the package from the ftp site or recompile it"; \ + echo " from the ports tree (${PORTSDIR}/lang/egcs/dejagnu)."; \ + fi + + +.include <bsd.prog.mk> + +PORTSDIR?=/usr/ports |