ports/99427: [Maintainer] sysutils/uschedule: define regression-test target

Thomas-Martin Seck tmseck at netcologne.de
Sat Jun 24 16:40:29 UTC 2006

>Number:         99427
>Category:       ports
>Synopsis:       [Maintainer] sysutils/uschedule: define regression-test target
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 24 16:40:18 GMT 2006
>Originator:     Thomas-Martin Seck
>Release:        FreeBSD 6.1-STABLE i386
a private site in Germany
FreeBSD ports collection as of June 24, 2006.

- move setup of compiler and compiler flags to the pre-build target
- no longer override do-build
- define a new regression-test target depending on build that calls the
  package's regression test scripts and allows for automated regression
  testing on the ports cluster
Apply this patch:

Index: Makefile
--- Makefile	(.../sysutils/uschedule)	(revision 910)
+++ Makefile	(.../local/uschedule)	(revision 910)
@@ -31,11 +31,13 @@
 PLIST_FILES=	${bin:S,^,bin/,}
 PLIST_FILES+=	${sbin:S,^,sbin/,}
-	${ECHO_CMD} ${CC} > ${WRKSRC}/src/conf-cc
-	${ECHO_CMD} ${CFLAGS} > ${WRKSRC}/src/conf-cflags
-	cd ${WRKSRC} && package/build
+	${ECHO_CMD} "${CC}" > ${WRKSRC}/src/conf-cc
+	${ECHO_CMD} "${CFLAGS}" > ${WRKSRC}/src/conf-cflags
+regression-test: build
+	cd ${WRKSRC} && ${MAKE} check
 .if !defined(NOPORTDOCS)


More information about the freebsd-ports-bugs mailing list