[Fedora-packaging] should I include tests in the package?

"Germán A. Racca" german.racca at gmail.com
Mon Apr 30 14:22:14 UTC 2012


On 04/30/2012 11:09 AM, Tom Lane wrote:
> =?ISO-8859-1?Q?=22Germ=E1n_A=2E_Racca=22?=<german.racca at gmail.com>  writes:
>> I'm the packager of APLpy: http://aplpy.github.com/
>> I'm going to update it to a new version, which comes with a set of
>> tests, but I'm not sure about what to do with them.
>
> I think you do want to make the tests available to users, but they don't
> necessarily have to be part of the base package.
> If the tests are large relative to the base package, a fairly common
> solution is to split them out into a sub-package, say aplpy-test.
>
> (This is in addition to running them during the build.)
>
> 			regards, tom lane

Hi Tom:

$ du -sh aplpy/
300K	aplpy/

$ du -sh tests/
192K	tests/

So I think that a split is not needed in this case.

-- 
Germán A. Racca
Fedora Package Maintainer
https://fedoraproject.org/wiki/User:Skytux


More information about the packaging mailing list