Skip to content

Commit

Permalink
disable test_dlopen_handle on FreeBSD (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmot authored Nov 18, 2024
1 parent 88f48d2 commit f44941e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testing/cffi0/test_ownlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def test_modify_struct_value(self):
def test_dlopen_handle(self):
if self.module is None:
pytest.skip("fix the auto-generation of the tiny test lib")
if sys.platform == 'win32' or is_musl:
if sys.platform == 'win32' or is_musl or sys.platform.startswith('freebsd'):
pytest.skip("uses 'dl' explicitly")
if self.__class__.Backend is CTypesBackend:
pytest.skip("not for the ctypes backend")
Expand Down
2 changes: 1 addition & 1 deletion testing/cffi1/test_re_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def test_selfref():
def test_dlopen_handle():
import _cffi_backend
from re_python_pysrc import ffi
if sys.platform == 'win32' or is_musl:
if sys.platform == 'win32' or is_musl or sys.platform.startswith('freebsd'):

This comment has been minimized.

Copy link
@Themoor1
pytest.skip("uses 'dl' explicitly")
ffi1 = FFI()
ffi1.cdef("""void *dlopen(const char *filename, int flags);
Expand Down

0 comments on commit f44941e

Please sign in to comment.