ATF-log archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: #67: atf doesn't conform to GNU coding standards; breaks hier(7) on FreeBSD
- Subject: Re: #67: atf doesn't conform to GNU coding standards; breaks hier(7) on FreeBSD
- From: "atf trac notification" <nobody%julipedia.org@localhost>
- Date: Tue, 31 Aug 2010 16:42:30 -0000
#67: atf doesn't conform to GNU coding standards; breaks hier(7) on FreeBSD
----------------------------------+-----------------------------------------
Reporter: gcooper@... | Owner: jmmv
Type: defect | Status: closed
Priority: major | Milestone:
Component: BUILD | Version: HEAD
Resolution: wontfix | Keywords:
----------------------------------+-----------------------------------------
Changes (by jmmv):
* status: new => closed
* resolution: => wontfix
Comment:
This is working as intended. After all, it is how atf is
[http://www.netbsd.org/~jmmv/atf/docs/faq.html#faq-user-why-install-test-
programs supposed to work]. Unfortunately, I can't really find any prior
art because I don't know of any other testing framework that *installs*
test programs... so I'll have to try to convince you.
The whole point of this unified directory structure is to have a single
place, aka testsdir, under which *any* package can install its tests.
Then, you, as the user, should be able to go into testsdir, do atf-run,
and get a unified report for all of the packages in the system that
install tests. Every package should define its own pkgtestsdir to be a
subdirectory of testsdir, but testsdir should remain constant across
packages (just like prefix and exec_prefix are).
Imagine you'd have: /usr/local/tests/atf, /usr/local/tests/emacs,
/usr/local/tests/glib2, etc. and, with a *single command* be able to test
all your installed packages. Even from a cron job.
If you start spreading out the tests on a package basis by putting them
somewhere prefixed by the package name, then you lose this ability.
If you do not like this approach, I'd be interested to know why. But this
is not going to change; so you would have to workaround it in the FreeBSD
package by specifying configure flags.
In NetBSD, we modified hier(7) to add this directory to the list of
"known" subtrees. And, according to the autoconf documentation, testsdir
follows the exec_prefix convention.
--
Ticket URL: <http://www.julipedia.org/projects/atf/trac/ticket/67#comment:1>
Automated Testing Framework <http://www.NetBSD.org/~jmmv/atf/>
Automated Testing Framework
Home |
Main Index |
Thread Index |
Old Index