regression-test

Thierry Thomas thierry at FreeBSD.org
Fri Jun 20 15:53:13 UTC 2008


Le Ven 20 jui 08 à  3:54:04 +0200, Garrett Cooper <yanefbsd at 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.


More information about the freebsd-ports mailing list