Commit 23e40860 authored by Thomas Heller's avatar Thomas Heller

Fix a test that fails when libGL.so and libGLU.so are not installed (on posix systems).

parent 0c6b0e9d
......@@ -8,8 +8,10 @@ if os.name == "posix" and sys.platform == "linux2":
class TestRTLD_GLOBAL(unittest.TestCase):
def test_GL(self):
cdll.load('libGL.so', mode=RTLD_GLOBAL)
cdll.load('libGLU.so')
if os.path.exists('/usr/lib/libGL.so'):
cdll.load('libGL.so', mode=RTLD_GLOBAL)
if os.path.exists('/usr/lib/libGLU.so'):
cdll.load('libGLU.so')
##if os.name == "posix" and sys.platform != "darwin":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment