Porting atf - violating the layout of the ports-filesystems
John B Brown
jbb at vcn.com
Mon Jul 12 14:29:48 PDT 2010
On 7/12/10 2:31 PM, Brandon S Allbery KF8NH wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 7/12/10 12:42 , Ivan "Rambius" Ivanov wrote:
>> I contacted ATF's author to inform him that I had include ATF into
>> MacPorts. He raised concerns about moving the tests into
>> ${prefix}/share/${name}/tests.
>>
>> His main objection was that the tests tree was supposed to be shared
>> across all packages and more than one package can install ATF-based
>> tests. The user 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. After he explained it to me, I
>> am more inclined to move the tests back to $prefix/tests and set
>> destroot.violate_mtree to yes.
>
> I think the correct answer to this is /opt/local/share/atf-tests, then.
>
> - --
> brandon s. allbery [linux,solaris,freebsd,perl] allbery at kf8nh.com
> system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
> electrical and computer engineering, carnegie mellon university KF8NH
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkw7e5MACgkQIn7hlCsL25Wy5gCgmOZWh8rxHE+KjoUZGvUbiW/0
> AUAAoJP2bLjjMGyalxMl+p9p16q8hkRX
> =pDDX
> -----END PGP SIGNATURE-----
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
I believe the objection is to putting binary executables into a tree to
be shared across machines with diverse operating systems. The atf test
tree contains binary code. Putting it under /opt/local/share/atf-tests
is grave error, if not outright anti social.
Shalom,
John B. Brown.
[jbb at vcn.com]
358 High Street,
Buffalo, Wyoming
82834
"Freedom is not worth having if it does not include
the freedom to make mistakes" Mahatma Gandhi
"If any question why we died, tell them,
because our fathers lied." Rudyard Kipling
"A man who does not know the truth is just an idiot
but a man who knows the truth and calls it a lie
is a crook." Bertolt Brecht
"I wonder whether the world is being run
by smart people who are putting us on
or by imbeciles who really mean it." Mark Twain
1-307-684-9068
More information about the macports-users
mailing list