[Python-Dev] test failures in test_ctypes (HEAD) (original) (raw)

Thomas Heller theller at python.net
Tue May 2 19:57:32 CEST 2006


Guido van Rossum wrote:

I see test failures in current HEAD on my Google Red Hat Linux desktop that the buildbots don't seem to have:

./python -E -tt ../Lib/test/regrtest.py testctypes testctypes test testctypes failed -- errors occurred; run in verbose mode for details More details from running this manually: $ ./python ../Lib/test/testctypes.py . . (lots of passing tests; then:) . testgl (ctypes.test.testfind.TestOpenGLlibs) ... ERROR testglu (ctypes.test.testfind.TestOpenGLlibs) ... ERROR testglut (ctypes.test.testfind.TestOpenGLlibs) ... ERROR

Can you try this patch for Lib/ctypes/test/test_find, please?

Index: test_find.py

--- test_find.py (Revision 45791) +++ test_find.py (Arbeitskopie) @@ -39,9 +39,9 @@ if lib_glu: self.glu = CDLL(lib_glu, RTLD_GLOBAL) if lib_glut:

The test should try to test the RTLD_GLOBAL flag for loading shared libs. (The patch is pure guesswork, inspired by a recent thread on the ctypes-users list. It would be great if someone could provide some insight into this, or suggest a better test).

Thomas



More information about the Python-Dev mailing list