Update of /cvsroot/ctypes/ctypes/ctypes/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23580
Modified Files:
Tag: LoadLibrary_branch
test_posix.py
Log Message:
Work in progress.
Index: test_posix.py
===================================================================
RCS file: /cvsroot/ctypes/ctypes/ctypes/test/test_posix.py,v
retrieving revision 1.4
retrieving revision 1.4.4.1
diff -C2 -d -r1.4 -r1.4.4.1
*** test_posix.py 17 Mar 2006 15:34:44 -0000 1.4
--- test_posix.py 13 Apr 2006 09:05:48 -0000 1.4.4.1
***************
*** 9,14 ****
--- 9,17 ----
class TestRTLD_GLOBAL(unittest.TestCase):
def test_GL(self):
+ from ctypes._loader import _findLib
+ print "GL?", _findLib("GL")
if os.path.exists('/usr/lib/libGL.so'):
cdll.load('libGL.so', mode=RTLD_GLOBAL)
+ print "GL?", _findLib("GLU")
if os.path.exists('/usr/lib/libGLU.so'):
cdll.load('libGLU.so')
|