[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Automated Builds
I see 'The Spectacularly Adequate Automated Pygame Build Page' shows
revision 1293 as passing all tests for Python 2.4 on Windows. Yet I get
one error and four fails on the unit tests. The GL segfault is still
there. The results are included as an attachment. This is using the
installer from that page after uninstalling all previous Pygame
versions. The error and fails are also present for my own build from a
fresh SVN copy. I ran the tests on Windows 98.
Lenard
Lenard Lindstrom wrote:
Ah, so that error isn't just showing up on my computer.
Lenard
Brian Fisher wrote:
yeah, one of the unit tests crashes on windows, and it stops the builds.
I haven't figure out a good way to deal with that yet. I think I need
to implement a timeout on the guy that calls the unit tests.
I haven't figured out why they crash yet.
So why is there a segfault on the GL save?
On Sun, Jun 8, 2008 at 11:54 PM, Nicholas Dudfield
<ndudfield@xxxxxxxxx <mailto:ndudfield@xxxxxxxxx>> wrote:
Brian,
Just a quick note to let you know that the windows builds are
lagging behind
the osx.
At time of writing;
Most recent Automated build results:
OSX: r1293
Windows: r1272
Is it possible the segmentation fault
(pygame.image.save(gl_surface))
stopped the builds?
loading image__save_gl_surface_test
loading blit_test
loading mask_test
loading rect_test
loading display_test
loading font_test
loading sprite_test
loading base_test
loading transform_test
loading color_test
loading surfarray_test
loading movie_test
loading pixelarray_test
loading image_test
loading sndarray_test
loading mixer_test
loading key_test
loading surface_test
E................................................................................................................................................................F...........F.................................F....F..............
======================================================================
ERROR: test_image_save_works_with_opengl_surfaces (image__save_gl_surface_test.GL_ImageSave)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test\image__save_gl_surface_test.py", line 24, in test_image_save_works_with_opengl_surfaces
raise Exception('Segmentation Fault')
Exception: Segmentation Fault
======================================================================
FAIL: test_hex (color_test.ColorTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test\color_test.py", line 245, in test_hex
self.assertEquals (hex (c), hex (0xCC00CC00))
AssertionError: '0xcc00cc00L' != '0xCC00CC00L'
======================================================================
FAIL: test_webstyle (color_test.ColorTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test\color_test.py", line 261, in test_webstyle
self.assertEquals (hex (c), hex (0xCC00CC11))
AssertionError: '0xcc00cc11L' != '0xCC00CC11L'
======================================================================
FAIL: test_get_init__returns_exact_values_used_for_init (mixer_test.MixerModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test\mixer_test.py", line 58, in test_get_init__returns_exact_values_used_for_init
self.assertEquals(init_conf, mixer_conf)
AssertionError: (11025, -16, 1) != (11025, -16, 0)
======================================================================
FAIL: test_quit (mixer_test.MixerModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test\mixer_test.py", line 93, in test_quit
self.assert_(type(e) == pygame.error)
AssertionError
----------------------------------------------------------------------
Ran 227 tests in 13.560s
FAILED (failures=4, errors=1)