Author: Alex Gaynor <[email protected]>
Branch: jit-dynamic-getarrayitem
Changeset: r49440:ee7c71b7e412
Date: 2011-11-15 12:44 -0500
http://bitbucket.org/pypy/pypy/changeset/ee7c71b7e412/
Log: put tests in a sane subclass and only run the new ones in the x86
backend
diff --git a/pypy/jit/backend/x86/test/test_fficall.py
b/pypy/jit/backend/x86/test/test_fficall.py
--- a/pypy/jit/backend/x86/test/test_fficall.py
+++ b/pypy/jit/backend/x86/test/test_fficall.py
@@ -2,7 +2,7 @@
from pypy.jit.metainterp.test import test_fficall
from pypy.jit.backend.x86.test.test_basic import Jit386Mixin
-class TestFfiCall(Jit386Mixin, test_fficall.FfiCallTests):
+class TestFfiLookups(Jit386Mixin, test_fficall.FfiLookupTests):
# for the individual tests see
# ====> ../../../metainterp/test/test_fficall.py
supports_all = True
diff --git a/pypy/jit/metainterp/test/test_fficall.py
b/pypy/jit/metainterp/test/test_fficall.py
--- a/pypy/jit/metainterp/test/test_fficall.py
+++ b/pypy/jit/metainterp/test/test_fficall.py
@@ -91,6 +91,7 @@
test_byval_result.__doc__ = _TestLibffiCall.test_byval_result.__doc__
test_byval_result.dont_track_allocations = True
+class FfiLookupTests(object):
def test_array_fields(self):
myjitdriver = JitDriver(
greens = [],
@@ -148,9 +149,11 @@
})
-
class TestFfiCall(FfiCallTests, LLJitMixin):
supports_all = False
class TestFfiCallSupportAll(FfiCallTests, LLJitMixin):
supports_all = True # supports_{floats,longlong,singlefloats}
+
+class TestFfiLookup(FfiLookupTests, LLJitMixin):
+ pass
\ No newline at end of file
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit