[pypy-commit] pypy reflex-support: do not test for fast path if CINT is the back-end as it does not support ffi calls
wlav
noreply at buildbot.pypy.org
Thu Feb 23 01:41:41 CET 2012
Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: reflex-support
Changeset: r52780:d5c9c43ebf5a
Date: 2012-02-22 13:36 -0800
http://bitbucket.org/pypy/pypy/changeset/d5c9c43ebf5a/
Log: do not test for fast path if CINT is the back-end as it does not
support ffi calls
diff --git a/pypy/module/cppyy/test/test_zjit.py b/pypy/module/cppyy/test/test_zjit.py
--- a/pypy/module/cppyy/test/test_zjit.py
+++ b/pypy/module/cppyy/test/test_zjit.py
@@ -133,6 +133,11 @@
class TestFastPathJIT(LLJitMixin):
def test_simple(self):
+ """Test fast path being taken for methods"""
+
+ if capi.identify() == 'CINT': # CINT does not support fast path
+ return
+
space = FakeSpace()
drv = jit.JitDriver(greens=[], reds=["i", "inst", "addDataToInt"])
def f():
@@ -153,6 +158,11 @@
self.check_jitcell_token_count(1)
def test_overload(self):
+ """Test fast path being taken for overloaded methods"""
+
+ if capi.identify() == 'CINT': # CINT does not support fast path
+ return
+
space = FakeSpace()
drv = jit.JitDriver(greens=[], reds=["i", "inst", "addDataToInt"])
def f():
More information about the pypy-commit
mailing list