Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2009 03:55:20 GMT
From:      "Pedro F. Giffuni" <giffunip@tutopia.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/138493: devel/nspr: add regression-test target
Message-ID:  <200909030355.n833tKs8085745@www.freebsd.org>
Resent-Message-ID: <200909030400.n8340GjT065560@freefall.freebsd.org>

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

>Number:         138493
>Category:       ports
>Synopsis:       devel/nspr: add 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:   Thu Sep 03 04:00:16 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        7.2-Release
>Organization:
>Environment:
FreeBSD kakumen.cable.net.co 7.2-RELEASE FreeBSD 7.2-RELEASE #3: Tue Aug 18 22:42:27 COT 2009     pedro@kakumen.cable.net.co:/usr/src/sys/amd64/compile/GENERIC.Dell  amd64

>Description:
The regression-test target will run the test during package building.

This is usually more helpful that expecting the end user to do it voluntarily.
>How-To-Repeat:

>Fix:
diff -u nspr.orig/Makefile nspr/Makefile
--- nspr.orig/Makefile	2009-09-02 22:44:32.000000000 -0500
+++ nspr/Makefile	2009-09-02 22:46:37.000000000 -0500
@@ -67,16 +67,6 @@
 	#	${WRKSRC}/lib/tests/arena
 	#
 
-test: libtests prtests
-
-#.if defined(PACKAGE_BUILDING)
-#post-build: test
-#.else
-post-build:
-	#
-	# Please, consider running ``make test'' to find any
-	# possible build problems.
-	#
-#.endif
+regression-test: build libtests prtests
 
 .include <bsd.port.post.mk>
Common subdirectories: nspr.orig/files and nspr/files


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



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