Author: Edd Barrett <[email protected]>
Branch: asmmemmgr-for-code-only
Changeset: r86644:c85b57ee51f7
Date: 2016-08-28 18:00 +0100
http://bitbucket.org/pypy/pypy/changeset/c85b57ee51f7/
Log: Backed out changeset e50cf5d2ead3 -- Deal with OpenBSD tests
elsewhere.
diff --git a/rpython/jit/backend/test/runner_test.py
b/rpython/jit/backend/test/runner_test.py
--- a/rpython/jit/backend/test/runner_test.py
+++ b/rpython/jit/backend/test/runner_test.py
@@ -1,5 +1,4 @@
import py, sys, random, os, struct, operator
-import pytest
from rpython.jit.metainterp.history import (AbstractFailDescr,
AbstractDescr,
BasicFailDescr,
@@ -2600,8 +2599,6 @@
deadframe2 = self.cpu.force(frame)
assert self.cpu.get_int_value(deadframe2, 0) == 30
- @pytest.mark.xfail(sys.platform.startswith("openbsd"),
- reason="something wrong with CDLL()")
def test_call_to_c_function(self):
from rpython.rlib.libffi import CDLL, types, ArgChain, FUNCFLAG_CDECL
from rpython.rtyper.lltypesystem.ll2ctypes import libc_name
@@ -2628,8 +2625,6 @@
assert fail.identifier == 0
assert self.cpu.get_int_value(deadframe, 0) == ord('g')
- @pytest.mark.xfail(sys.platform.startswith("openbsd"),
- reason="something wrong with CDLL()")
def test_call_to_c_function_with_callback(self):
from rpython.rlib.libffi import CDLL, types, ArgChain, clibffi
from rpython.rtyper.lltypesystem.ll2ctypes import libc_name
diff --git a/rpython/rlib/rdynload.py b/rpython/rlib/rdynload.py
--- a/rpython/rlib/rdynload.py
+++ b/rpython/rlib/rdynload.py
@@ -17,7 +17,6 @@
_MAC_OS = platform.name == "darwin"
_FREEBSD = sys.platform.startswith("freebsd")
_NETBSD = sys.platform.startswith("netbsd")
-_OPENBSD = sys.platform.startswith("openbsd")
if _WIN32:
from rpython.rlib import rwin32
@@ -30,7 +29,7 @@
else:
pre_include_bits = []
-if _OPENBSD or _FREEBSD or _NETBSD or _WIN32:
+if _FREEBSD or _NETBSD or _WIN32:
libraries = []
else:
libraries = ['dl']
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit