Skip to content

Commit f44941e

Browse files
authored
disable test_dlopen_handle on FreeBSD (#144)
1 parent 88f48d2 commit f44941e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

testing/cffi0/test_ownlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def test_modify_struct_value(self):
389389
def test_dlopen_handle(self):
390390
if self.module is None:
391391
pytest.skip("fix the auto-generation of the tiny test lib")
392-
if sys.platform == 'win32' or is_musl:
392+
if sys.platform == 'win32' or is_musl or sys.platform.startswith('freebsd'):
393393
pytest.skip("uses 'dl' explicitly")
394394
if self.__class__.Backend is CTypesBackend:
395395
pytest.skip("not for the ctypes backend")

testing/cffi1/test_re_python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def test_selfref():
269269
def test_dlopen_handle():
270270
import _cffi_backend
271271
from re_python_pysrc import ffi
272-
if sys.platform == 'win32' or is_musl:
272+
if sys.platform == 'win32' or is_musl or sys.platform.startswith('freebsd'):
273273
pytest.skip("uses 'dl' explicitly")
274274
ffi1 = FFI()
275275
ffi1.cdef("""void *dlopen(const char *filename, int flags);

0 commit comments

Comments
 (0)