From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jan 31 03:00:17 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3E90106566C for ; Sat, 31 Jan 2009 03:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ABF8B8FC0C for ; Sat, 31 Jan 2009 03:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0V30HrI047908 for ; Sat, 31 Jan 2009 03:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0V30HPq047907; Sat, 31 Jan 2009 03:00:17 GMT (envelope-from gnats) Resent-Date: Sat, 31 Jan 2009 03:00:17 GMT Resent-Message-Id: <200901310300.n0V30HPq047907@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Pedro F. Giffuni" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74C271065670 for ; Sat, 31 Jan 2009 02:52:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 62DE08FC16 for ; Sat, 31 Jan 2009 02:52:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0V2qQcb042002 for ; Sat, 31 Jan 2009 02:52:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0V2qPjd042001; Sat, 31 Jan 2009 02:52:25 GMT (envelope-from nobody) Message-Id: <200901310252.n0V2qPjd042001@www.freebsd.org> Date: Sat, 31 Jan 2009 02:52:25 GMT From: "Pedro F. Giffuni" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/131185: lang/gcc43: add regression-test target X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2009 03:00:18 -0000 >Number: 131185 >Category: ports >Synopsis: lang/gcc43: 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: Sat Jan 31 03:00:17 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Pedro F. Giffuni >Release: 7.1-RELEASE >Organization: >Environment: %uname -a FreeBSD kakumen.cable.net.co 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: It now makes sense to have checks to gcc43 done in the package building cluster: - Fortran ports (114?) now depend on lang/gcc43. - Since gcc43 is not part of the base system we are doing less checks on these newer versions of gcc by default. This simple patch adds the "regression-test" target to early detect bugs and have the packages checked on different platforms. >How-To-Repeat: >Fix: diff -ruN gcc43.orig/Makefile gcc43/Makefile --- gcc43.orig/Makefile 2009-01-30 20:56:32.000000000 -0500 +++ gcc43/Makefile 2009-01-30 21:22:54.000000000 -0500 @@ -25,6 +25,10 @@ LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4 \ mpfr.3:${PORTSDIR}/math/mpfr +.if defined(PACKAGE_BUILDING) || defined(MAINTAINER_MODE) +BUILD_DEPENDS= runtest:${PORTSDIR}/misc/dejagnu +.endif + SUFFIX= 43 LATEST_LINK?= gcc${SUFFIX}${PKGNAMESUFFIX} NOT_FOR_ARCHS= alpha ia64 @@ -160,7 +164,7 @@ @${ECHO_MSG} "if you have not performed this build on -STABLE or -CURRENT." @${ECHO_MSG} "This assumes that you have the dejagnu port installed." -check: build +regression-test check: build cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check post-install: >Release-Note: >Audit-Trail: >Unformatted: