Re: RFC: Storing Automated Tasks/Tests In Dist-Git

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

 



On Wed, Oct 05, 2016 at 07:54:59AM +0200, Pavel Raiskup wrote:
> On Tuesday, October 4, 2016 8:09:14 PM CEST Richard W.M. Jones wrote:
> > And related to this question, do we also need to define
> > "TestRequires" packages/dependencies?
> 
> Sounds like natural approach would be to install the built packages into
> some minimal environment, and the packages itself should bring the
> dependencies?  OTOH, we should be able to limit the set of packages to install
> in such case, somehow.

The problem is suppose the tests need tool or framework 'X' in order
to run the tests.

If I was using RPM %check, then I would add:

  BuildRequires: X

But (I assume?) BuildRequires won't be installed in this testing
environment, so I now have to add instead:

  Requires: X

That has obvious problems.

> The TestRequires is interesting idea, too, FTR mentioned in rhbz#1134397.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux