Subject:
[ruby-ffi] Re: Failing spec tests
From:
Mike Dalessio
Date:
11/2/09 1:17 PM
To:
ruby-ffi@googlegroups.com

You shouldn't worry about these fails. However, I'm curious what version of Ruby you are running.

If nobody objects, I'll change the "wiggle room" to 5.


On Mon, Nov 2, 2009 at 1:17 PM, Bryan Kearney <bkearney@redhat.com> wrote:

I am running the spec tests on a Fedora Machine (F11) CPU info is:

Linux MY.MACHINE 2.6.30.5-43.fc11.x86_64 #1 SMP Thu Aug 27 21:39:52 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

And I am getting the following errors. They are all on the boundary of the wiggle room. Is this something which I should be worried about, or is one off of "wiggle room" good enough?

Thanks!

-- bk


1)
Spec::Mocks::MockExpectationError in 'AutoPointer cleanup via default release method'
<AutoPointerSubclass (class)> expected :release with (any args) 28 times, but received it 27 times
./spec/ffi/pointer_spec.rb:142:

2)
Spec::Mocks::MockExpectationError in 'AutoPointer cleanup when passed a proc'
<AutoPointerTestHelper (class)> expected :release with (any args) 28 times, but received it 27 times
./spec/ffi/pointer_spec.rb:162:

3)
Spec::Mocks::MockExpectationError in 'Managed Struct should release memory properly'
<PleaseReleaseMe (class)> expected :release with (any args) 28 times, but received it 27 times
./spec/ffi/managed_struct_spec.rb:50:



--
mike dalessio
mike@csa.net