ATF-devel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ATF submitted to MacPorts

On Sun, Jul 11, 2010 at 7:02 PM, Ivan "Rambius" Ivanov
<> wrote:
>> Test programs *cannot* go into prefix/share/.  They are
>> binaries and as such you cannot pretend them to be shareable across
>> machines.  Additionally, such path will have the 'atf' component in it
>> twice (see below).
>> If you cannot put the test programs in prefix/tests/ (as it was
>> intended) because then the port won't be accepted, then your only
>> other allowable location would be prefix/libexec/.  But you should
>> really try to get the tests to install in prefix/tests/ as libexec
>> doesn't make much sense either -- it fits the file types but not the
>> purpose.
>> Also, the tests tree is supposed to be shared across all packages, and
>> with the setting you are providing you are restricting the directory
>> to atf only.  The idea is that if you have more than one package
>> installing tests, you can just go into prefix/tests/ (imagine you'd
>> have prefix/tests/atf/, prefix/tests/bind/, prefix/tests/gtk2/, etc.)
>> and run all tests at once for all packages.
> Well, now with this I understand the purpose of ${prefix}/tests and I
> will follow up this issue in Macports mailing list and with a patch to
> ATF macports portfile. I would also appreciate it if you take part in
> the thread in MacPorts.

Can you CC me on that thread so that I can easily reply to it?


Julio Merino

Home | Main Index | Thread Index | Old Index