Testing of packages

Matthias Runge mrunge at matthias-runge.de
Fri Apr 27 12:11:27 UTC 2012


On 27/04/12 13:57, Michael Schwendt wrote:
> A wrong approach?
> 
> Why do you insist on using the %check section for that? It's a build-time
> feature, found only in the spec file and not packaged in the built rpms
> (also due to the test data I've referred to above).
> 
I'm asking if the scripts from check-section are useful here. I
understand, those scripts and the corresponding test data are not
included in built RPMS. This was why I asked, how to access them.

> You would be better served with a run-time test-suite. A collection
> of tests that would be included in a built package, could be installed
> and run independently, unrelated to the src.rpm build process. Fedora's
> AutoQA project sounds like the place where to look for triggers that can
> be used to run tests depending on new build results.
> 
I wonder how different a run-time test-suite dffers from a test suite to
be executed during build.

Thank you for sharing your thoughts with me.
-- 
Matthias Runge <mrunge at matthias-runge.de>
               <mrunge at fedoraproject.org>


More information about the test mailing list