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

Re: automated storage test framework

Hash: SHA1

On Tue, 11 May 2010, Bill Nottingham wrote:

Hans de Goede (hdegoede redhat com) said:
What frequency do you anticipate having these tests run?  Every new
anaconda build?

I would really like to see these tests be run as part of a build, there
is a reason a spec file can have a %check section, because test cases failing
is a very valid reason to abort a build.

I'm not sure how feasible this is though, I guess that for building the
livecd repo and thus network access is needed, and it will take quite
a bit of resources too. If others agree it is desirable to run this at
anacona (package / rpm) build time, we could chat to the infrastructure
people about this.

%check is intended to be run at build time, by a non-root user, inside a
mock chroot, with an unknown host hardware environment and kernel (i.e.,
potentially no KVM support). There are enough potential hurdles there
that I think it might be best to concentrate on other avenues first.

%check would be a good place for unit tests.

- -- David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI

Version: GnuPG v2.0.14 (GNU/Linux)


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