More regression tests.

- the tcl ports need a home for file tests to work.
- the tk ports need built tcl to run.
- all of this marked as interactive, and it's not even clear how to run
the tclsuite to completion yet...
This commit is contained in:
espie 2001-10-07 11:35:39 +00:00
parent 23b9b0affa
commit 1b20c8506f
4 changed files with 27 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2001/10/06 17:46:42 espie Exp $
# $OpenBSD: Makefile,v 1.9 2001/10/07 11:35:39 espie Exp $
# $FreeBSD: Makefile,v 1.4 1997/12/01 16:50:49 pst Exp $
COMMENT= "Tool Command Language"
@ -39,6 +39,12 @@ CONFIGURE_ENV= PORTSDIR="${PORTSDIR}"
WRKDIST= ${WRKDIR}/${DISTNAME}/unix
REGRESS_TARGET= test
TESTHOME=${WRKDIR}/testhome
REGRESS_FLAGS= HOME=${TESTHOME}
# Needs a full network connection to run
REGRESS_IS_INTERACTIVE=Yes
pre-regress:
mkdir -p ${TESTHOME}
post-install:
@strip ${PREFIX}/bin/tclsh8.0

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2001/10/06 17:45:06 espie Exp $
# $OpenBSD: Makefile,v 1.12 2001/10/07 11:35:39 espie Exp $
# Uses pthreads (can but does not at the moment)
COMMENT= "Tool Command Language"
@ -41,5 +41,12 @@ WRKDIST= ${WRKDIR}/${DISTNAME}/unix
INSTALL_TARGET= install-strip
REGRESS_TARGET= test
# Needs a full network connection to run
REGRESS_IS_INTERACTIVE=Yes
TESTHOME=${WRKDIR}/testhome
REGRESS_FLAGS= HOME=${TESTHOME}
pre-regress:
mkdir -p ${TESTHOME}
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2001/10/06 17:46:42 espie Exp $
# $OpenBSD: Makefile,v 1.12 2001/10/07 11:35:39 espie Exp $
# $FreeBSD: Makefile,v 1.7 1997/12/01 16:50:58 pst Exp $
COMMENT= "graphical toolkit for Tcl"
@ -39,6 +39,11 @@ CONFIGURE_ENV= PORTSDIR="${PORTSDIR}"
WRKDIST= ${WRKDIR}/${DISTNAME}/unix
REGRESS_TARGET= test
REGRESS_DEPENDS=::lang/tcl/8.3:regress
REGRESS_FLAGS=TCL_BIN_DIR=`cd ${PORTSDIR}/lang/tcl/8.3 && ${MAKE} show=WRKBUILD`
# This regression test wants an X11 display
REGRESS_FLAGS+=DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE=Yes
post-install:
@strip ${PREFIX}/bin/wish8.0

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2001/10/06 17:46:42 espie Exp $
# $OpenBSD: Makefile,v 1.13 2001/10/07 11:35:39 espie Exp $
COMMENT= "graphical toolkit for Tcl"
@ -38,6 +38,11 @@ CONFIGURE_ENV= PORTSDIR="${PORTSDIR}"
WRKDIST= ${WRKDIR}/${DISTNAME}/unix
REGRESS_TARGET=test
REGRESS_DEPENDS=::lang/tcl/8.3:regress
REGRESS_FLAGS=TCL_BIN_DIR=`cd ${PORTSDIR}/lang/tcl/8.3 && ${MAKE} show=WRKBUILD`
# This regression test wants an X11 display
REGRESS_FLAGS+=DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
REGRESS_IS_INTERACTIVE=Yes
post-install:
@strip ${PREFIX}/bin/wish8.3