GNOME Bugzilla – Bug 709331
Test failures with Gtk::Image in v0.013
Last modified: 2013-12-06 22:47:47 UTC
* OS: OSX Mountain Lion (10.8.4) * Gtk+3: 3.10.0 (installed via Homebrew) * Object introspection enabled in atk, gdk-pixbuf, pango and gtk+3 per patches here: https://github.com/mxcl/homebrew/pull/22314 Regarding the comment below at https://mail.gnome.org/archives/gtk-perl-list/2013-February/msg00018.html "But I think these are actually due to changes in gtk+. At some point, these getters started returning a GtkIconSize of 0, which translates to "invalid". gtk+ 2 returned 4 aka. "button" by default, instead." I appear to be experiencing the opposite: `perl Makefile.PL && make && make test` ... t/zz-GtkImage.t ................ 1/32 # Failed test 'get_icon_set empty' # at t/zz-GtkImage.t line 49. # Structures begin differing at: # $got->[1] = 'button' # $expected->[1] = 'invalid' # Failed test 'get_stock empty' # at t/zz-GtkImage.t line 51. # Structures begin differing at: # $got->[1] = 'button' # $expected->[1] = 'invalid' # Looks like you failed 2 tests of 32. t/zz-GtkImage.t ................ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/32 subtests (less 7 skipped subtests: 23 okay) Please let me know if you need any further details. -Nate
Yeah, these values seem to be unreliable. Should be fixed now in git master with <https://git.gnome.org/browse/perl-Gtk3/commit/?id=f7d7adc6910f383ee6f92e09f76ebc6e289ebe1c>. Thanks for the report.