[Python-Dev] test failures in test_ctypes (HEAD) (original) (raw)
Thomas Heller theller at python.net
Tue May 2 19:57:32 CEST 2006
- Previous message: [Python-Dev] test failures in test_ctypes (HEAD)
- Next message: [Python-Dev] Shared libs on Linux (Was: test failures in test_ctypes (HEAD))
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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:
self.glut = CDLL(lib_glut)
self.glut = CDLL(lib_glut, RTLD_GLOBAL) if lib_gle:
self.gle = CDLL(lib_gle)
if lib_gl: def test_gl(self):self.gle = CDLL(lib_gle, RTLD_GLOBAL)
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
- Previous message: [Python-Dev] test failures in test_ctypes (HEAD)
- Next message: [Python-Dev] Shared libs on Linux (Was: test failures in test_ctypes (HEAD))
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]