perl DBI modules and make test

seth vidal skvidal at phy.duke.edu
Tue Mar 15 08:59:52 UTC 2005


> I don't think so, and even if it did, leaving such tests enabled by
> default in specfiles would be a bad idea IMO.
> 
> In addition to needing DB access, some test suites (not only those of
> perl modules) may require X running, network access, some want to send
> email, import GPG keys etc.  It'd be better if these test suites are
> disabled by default, perhaps using a guard like "%{?_with_tests:make
> test}" and a comment why it's not on by default in the specfile's %check
> section.
> 
> That way it's easy to enable them temporarily where one knows it's
> possible and ok to run such tests.

+2. Adding this perl tests to the build environment would be a difficult
but it also doesn't make sense for a build environment, remember, it's a
_build_ environment, not a test environment. QA shouldn't be done at
build time, it should have been done before that.

-sv






More information about the fedora-extras-list mailing list