On Fri, Jun 10, 2016 at 03:10:32PM +0200, Pino Toscano wrote:
In data martedì 7 giugno 2016 22:35:33, Richard W.M. Jones ha
scritto:
> 'tc_410_close_event.rb' was not being run. You could prove this by
> simply inserting "exit 1" into that test.
>
> The reason is unclear, but by renaming every class and method in the
> tests to be unique, this ensures the tests are run.
> ---
ruby/t/tc_410_close_event.rb: def test_events
ruby/t/tc_420_log_messages.rb: def test_events
This explains: all the tests have TestLoad as class name, and these two
tests have the same method name. IMHO renaming just the class names
should be enough,
I tried renaming just the methods, but that didn't seem to be
sufficient to make the tests all run reliably, hence renaming
the classes as well.
(Not helped by the lack of coherent documentation ...)
but this patch is fine as well.
Thanks - I will push this.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW