Regression testing

Chris Adams cmadams at hiwaay.net
Fri Mar 18 20:25:10 UTC 2005


Once upon a time, Gregory Maxwell <gmaxwell at gmail.com> said:
> One way to accomplish this would be to have the spec optionally build
> a packagename-regression rpm, which includes the scripts and data
> needed to perform the automated regression testing.

Some regression tests are designed to be run in the build tree, so
building a package is probably not the best way to do this (the OpenSSH
tests are this way for example).

A better idea would be for the %build or %install stage (as appropriate)
to optionally run such tests, so if they fail, the RPM doesn't build.

-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.




More information about the fedora-devel-list mailing list