[pypy-commit] pypy osx-shared: Fix TestShared.test_entrypoint on OSX.
larstiq
noreply at buildbot.pypy.org
Wed Dec 31 07:59:52 CET 2014
Author: Wouter van Heyst <wouter.pypy at richtlijn.be>
Branch: osx-shared
Changeset: r75182:79717888c2b6
Date: 2014-12-30 20:12 +0200
http://bitbucket.org/pypy/pypy/changeset/79717888c2b6/
Log: Fix TestShared.test_entrypoint on OSX.
diff --git a/rpython/translator/c/test/test_standalone.py b/rpython/translator/c/test/test_standalone.py
--- a/rpython/translator/c/test/test_standalone.py
+++ b/rpython/translator/c/test/test_standalone.py
@@ -1386,6 +1386,8 @@
ext_suffix = '.so'
if cbuilder.eci.platform.name == 'msvc':
ext_suffix = '.dll'
+ elif cbuilder.eci.platform.name.startswith('darwin'):
+ ext_suffix = '.dylib'
libname = cbuilder.executable_name.join('..', 'lib' +
cbuilder.modulename + ext_suffix)
lib = ctypes.CDLL(str(libname))
More information about the pypy-commit
mailing list