Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2008 22:32:57 GMT
From:      "Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124733: cad/brlcad: add basic regression-test target 
Message-ID:  <200806182232.m5IMWvgp028982@www.freebsd.org>
Resent-Message-ID: <200806182240.m5IMe0qC004409@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806182232.m5IMWvgp028982>