From owner-freebsd-ports@FreeBSD.ORG Fri Jun 20 15:53:13 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D05A1065671 for ; Fri, 20 Jun 2008 15:53:13 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by mx1.freebsd.org (Postfix) with ESMTP id 246128FC1B for ; Fri, 20 Jun 2008 15:53:13 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from smtp7-g19.free.fr (localhost [127.0.0.1]) by smtp7-g19.free.fr (Postfix) with ESMTP id D1107322843 for ; Fri, 20 Jun 2008 17:53:11 +0200 (CEST) Received: from graf.pompo.net (graf.pompo.net [81.56.186.139]) by smtp7-g19.free.fr (Postfix) with ESMTP id BCDDE322833 for ; Fri, 20 Jun 2008 17:53:11 +0200 (CEST) Received: by graf.pompo.net (Postfix, from userid 1001) id 7EF0411479; Fri, 20 Jun 2008 17:53:10 +0200 (CEST) Date: Fri, 20 Jun 2008 17:53:10 +0200 From: Thierry Thomas To: freebsd-ports@freebsd.org Message-ID: <20080620155310.GA51235@graf.pompo.net> Mail-Followup-To: freebsd-ports@freebsd.org References: <676047.76296.qm@web32706.mail.mud.yahoo.com> <20080619163501.GB12160@atarininja.org> <485A921C.80602@FreeBSD.org> <20080619210519.GV18873@graf.pompo.net> <485B0A6C.3080301@FreeBSD.org> <7d6fde3d0806191854o461d3bddxa44d011e56c4b73b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7d6fde3d0806191854o461d3bddxa44d011e56c4b73b@mail.gmail.com> X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE i386 Organization: Kabbale Eros X-PGP: 0xC71405A2 Subject: Re: regression-test X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2008 15:53:13 -0000 Le Ven 20 jui 08 à 3:54:04 +0200, Garrett Cooper écrivait : > >> I try to enable regression-test when possible, but the current > >> implementation is a post-build target, and some ports' testings need a > >> post-install target. In these cases, I enclose the regression-test > >> target between .ifdef MAINTAINER_MODE. > > > > I'd say those ports are broken; conceptually, you should be testing whether > > or not your port works *before* you install it, not after. > > > > Kris > > Agreed. Functionality verification is a requirement for acceptance in > any release structure, not the other way around. That's not always so simple: - when you run the configure script, it may define some paths (e.g. DATADIR), and some files under this directory may be required for the program to be run; - some runtime dependencies may be required; - the program may be unusable without some additional steps taken into account by a pkg-install script; - etc. Regards, -- Th. Thomas.