mvz/ruby-gir-ffi — Issue #25: IConstantInfo  tests fail on Debian sid/Ubuntu Precise
Author: antono
Created: 2012-03-06 01:13:12+00:00
State: open

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu precise (development branch)
Release:	12.04
Codename:	precise

Package: gobject-introspection
Priority: optional
Section: devel
Installed-Size: 1055
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GNOME Maintainers
Architecture: amd64
Version: 1.31.20-1

```
Run options: --seed 52318

# Running tests:

..EEE..............

Finished tests in 0.062815s, 302.4748 tests/s, 286.5551 assertions/s.

1) Error:
test_0002_returns_a_value_union_with_member_v_int32_with_value_1(GObjectIntrospection::IConstantInfo::for GLib::ALLOCATOR_LIST, a constant of type :gint32):
NoMethodError: undefined method `value_union' for nil:NilClass
/home/antono/Code/ruby-gir-ffi/test/ffi-gobject_introspection/i_constant_info_test.rb:14:in `block (3 levels) in '

2) Error:
test_0001_returns_gint32_as_its_type(GObjectIntrospection::IConstantInfo::for GLib::ALLOCATOR_LIST, a constant of type :gint32):
NoMethodError: undefined method `constant_type' for nil:NilClass
/home/antono/Code/ruby-gir-ffi/test/ffi-gobject_introspection/i_constant_info_test.rb:10:in `block (3 levels) in '

3) Error:
test_0003_returns_1_as_its_value(GObjectIntrospection::IConstantInfo::for GLib::ALLOCATOR_LIST, a constant of type :gint32):
NoMethodError: undefined method `value' for nil:NilClass
/home/antono/Code/ruby-gir-ffi/test/ffi-gobject_introspection/i_constant_info_test.rb:18:in `block (3 levels) in '

19 tests, 18 assertions, 0 failures, 3 errors, 0 skips
rake aborted!
Command failed with status (1): [/home/antono/.rvm/rubies/ruby-1.9.3-p125/b...]

Tasks: TOP => default => test => test:gobjectintrospection
(See full trace by running task with --trace)
```