Packages with missing %check

Stanislav Ochotnicky sochotnicky at redhat.com
Wed Feb 26 10:01:15 UTC 2014


Adam Williamson <awilliam at redhat.com> writes:

> On Tue, 2014-02-25 at 18:35 -0800, Andrew Lutomirski wrote:
>
>> Just to mention: there are probably many packages where the equivalent
>> of %check can't be run without access to a source tree, so Taskotron
>> can't usefully replace %check.  I maintain a package like that.
>
> How do you get from that premise to that conclusion? We know where the
> source tree is...

Because unit tests are designed to be run as part of the build
process. It's not impossible to run them *after* the build, but good
luck making it work reliably across all packages without manual work.

As I see it:
 * %check (or equivalent) is for unit testing
 * taskotron (or equivalent) is integration testing

Each has its own value

--
Stanislav Ochotnicky <sochotnicky at redhat.com>
Software Engineer - Developer Experience

PGP: 7B087241
Red Hat Inc.                               http://cz.redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140226/560123c1/attachment.sig>


More information about the devel mailing list