Subject:
[ruby-ffi] Failing spec tests
From:
Bryan Kearney
Date:
11/2/09 12:17 PM
To:
ruby-ffi@googlegroups.com


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: