After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697138 - ppc64 test suite failure: FAIL: test_vfunc_return_enum (test_gi.TestEnumVFuncResults)
ppc64 test suite failure: FAIL: test_vfunc_return_enum (test_gi.TestEnumVFunc...
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-02 19:16 UTC by Dave Malcolm
Modified: 2013-07-05 11:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dave Malcolm 2013-04-02 19:16:12 UTC
Am running 3.8.0 with https://git.gnome.org/browse/pygobject/commit/?h=pygobject-3-8&id=c1fb6516031d3c32abd6
on ppc64 (bigendian 64-bit) and am seeing this test case failure:

======================================================================
FAIL: test_vfunc_return_enum (test_gi.TestEnumVFuncResults)
----------------------------------------------------------------------
Traceback (most recent call last):
  • File "/builddir/build/BUILD/pygobject-3.8.0/tests/test_gi.py", line 1512 in test_vfunc_return_enum
    self.assertEqual(tester.vfunc_return_enum(), GIMarshallingTests.Enum.VALUE2)
AssertionError: <enum GI_MARSHALLING_TESTS_ENUM_VALUE1 of type PyGIMarshallingTestsEnum> != <enum GI_MARSHALLING_TESTS_ENUM_VALUE2 of type PyGIMarshallingTestsEnum>

----------------------------------------------------------------------

Presumably it's erroneously coming out as 0, rather than a non-zero expected value.

(Note to self: downstream bug https://bugzilla.redhat.com/show_bug.cgi?id=924425#c7 )
Comment 1 Simon Feltman 2013-05-12 03:37:02 UTC
It is possible this has been fixed with the following commit, please verify:

https://git.gnome.org/browse/pygobject/commit/?h=pygobject-3-8&id=3935878d9f3ecead42e706d0ba7bf1b9cb0fa4a3
Comment 2 Kalev Lember 2013-07-05 11:12:07 UTC
I can confirm this test now passes on Fedora ppc64 builders with pygobject 3.8.3.