ports/124733: cad/brlcad: add basic regression-test target

Pedro F. Giffuni pfgshield-freebsd at yahoo.com
Wed Jun 18 22:40:01 UTC 2008


>Number:         124733
>Category:       ports
>Synopsis:       cad/brlcad: add basic regression-test target
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 18 22:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        6.3-Release
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 6.3-RELEASE FreeBSD 6.3-RELEASE #10: Sat Jan 19 01:13:55 COT 2008     root at kakumen.cable.net.co:/usr/src/sys/amd64/compile/SMP  amd64

>Description:
No functional change.
This target is useful to verify the compilation was correct, specially on platforms that the developers are not following very closely.
I avoided adding the longer benchmark in favor of the simpler test.

>How-To-Repeat:

>Fix:
diff -ruN brlcad.orig/Makefile brlcad/Makefile
--- brlcad.orig/Makefile	2008-06-18 15:55:41.000000000 -0500
+++ brlcad/Makefile	2008-06-18 17:19:41.000000000 -0500
@@ -131,4 +131,7 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/mged.sh ${PREFIX}/bin/mged.sh
 	${LN} -s ${PREFIX}/bin/mged.sh ${LOCALBASE}/bin/mged.sh
 
+regression-test: build
+	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} test)
+
 .include <bsd.port.post.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list