Opened 10 years ago

Closed 10 years ago

#4965 closed enhancement (fixed)

pygobject-3.12.1

Reported by: Fernando de Oliveira Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.6
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

http://ftp.gnome.org/pub/gnome/sources/pygobject/3.12/pygobject-3.12.1.tar.xz

http://ftp.gnome.org/pub/gnome/sources/pygobject/3.12/pygobject-3.12.1.news

3.12.1  14-Apr-2014
        - Fix crash with type checking invalid GObject arguments
          (Simon Feltman) (#727604)
        - Do not leak info of destroy notify (Paolo Borelli)

Change History (3)

comment:1 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:2 by Fernando de Oliveira, 10 years ago

There is one test that recurrently fails:

======================================================================
FAIL: test_out_glist (test_atoms.TestGdkAtom)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/fernando/tmp/paco-build-2014.04.16-10h04m00s/pygobject-3.12.1/tests/test_atoms.py", line 80, in test_out_glist
    self.assertTrue('Rel X' in axes_names)
AssertionError: False is not true

I never find anything about this other than what I have previously reported.

Today, I lost all morning trying different ways of disabling it. Last one, and simpler one:

      sed -i '/test_out_glist/ i\    @unittest.expectedFailure' \
             tests/test_atoms.py

This makes the test an expected failure.

For module 2, the result is:

----------------------------------------------------------------------
Ran 963 tests in 9.733s

OK (skipped=3, expected failures=7, unexpected successes=3)
test_object (compat_test_pygtk.TestATKCompat) ... ok
test_alignment (compat_test_pygtk.TestGTKCompat) ... ok
test_box (compat_test_pygtk.TestGTKCompat) ... ok
test_buttons (compat_test_pygtk.TestGTKCompat) ... ok
test_combobox_entry (compat_test_pygtk.TestGTKCompat) ... ok
test_enums (compat_test_pygtk.TestGTKCompat) ... ok
test_flags (compat_test_pygtk.TestGTKCompat) ... ok
test_gdk_window (compat_test_pygtk.TestGTKCompat) ... ok
test_keysyms (compat_test_pygtk.TestGTKCompat) ... ok
test_pixbuf (compat_test_pygtk.TestGTKCompat) ... ok
test_pixbuf_formats (compat_test_pygtk.TestGTKCompat) ... ok
test_pixbuf_loader (compat_test_pygtk.TestGTKCompat) ... ok
test_size_request (compat_test_pygtk.TestGTKCompat) ... ok
test_style (compat_test_pygtk.TestGTKCompat) ... ok
test_error_underline_path (compat_test_pygtk.TestPangoCairoCompat) ... ok
test_layout (compat_test_pygtk.TestPangoCompat) ... ok

----------------------------------------------------------------------
Ran 16 tests in 0.095s

For module 3, the result is:

----------------------------------------------------------------------
Ran 963 tests in 9.997s

FAILED (skipped=104, expected failures=6, unexpected successes=1)
source id: 179
Makefile:815: recipe for target 'check-local' failed
make[2]: *** [check-local] Error 1
make[2]: Leaving directory '/home/fernando/tmp/paco-build-2014.04.16-12h46m44s/pygobject-3.12.1/python3/tests'
Makefile:643: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/home/fernando/tmp/paco-build-2014.04.16-12h46m44s/pygobject-3.12.1/python3/tests'
Makefile:657: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
make: Leaving directory '/home/fernando/tmp/paco-build-2014.04.16-12h46m44s/pygobject-3.12.1/python3'

If there is no other solution, I will include the sed with a comment, as optional, but I have no idea why the other tests fail in module 3.

Thanks in advance for any comments/solution/etc.

comment:3 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r12965.

Note: See TracTickets for help on using tickets.