Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2008 17:53:10 +0200
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: regression-test
Message-ID:  <20080620155310.GA51235@graf.pompo.net>
In-Reply-To: <7d6fde3d0806191854o461d3bddxa44d011e56c4b73b@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Ven 20 jui 08 à  3:54:04 +0200, Garrett Cooper <yanefbsd@gmail.com>
 é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.



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