Author: David Schneider <david.schnei...@picle.org> Branch: ppc-jit-backend Changeset: r56447:44f5bcf4a5c8 Date: 2012-07-25 07:04 -0700 http://bitbucket.org/pypy/pypy/changeset/44f5bcf4a5c8/
Log: import test_float tests into PPC backend diff --git a/pypy/jit/backend/x86/test/test_float.py b/pypy/jit/backend/ppc/test/test_float.py copy from pypy/jit/backend/x86/test/test_float.py copy to pypy/jit/backend/ppc/test/test_float.py --- a/pypy/jit/backend/x86/test/test_float.py +++ b/pypy/jit/backend/ppc/test/test_float.py @@ -1,9 +1,13 @@ import py -from pypy.jit.backend.x86.test.test_basic import Jit386Mixin +from pypy.jit.backend.ppc.test.support import JitPPCMixin from pypy.jit.metainterp.test.test_float import FloatTests +from pypy.jit.backend.detect_cpu import getcpuclass -class TestFloat(Jit386Mixin, FloatTests): +CPU = getcpuclass() +class TestFloat(JitPPCMixin, FloatTests): # for the individual tests see # ====> ../../../metainterp/test/test_float.py - pass + if not CPU.supports_singlefloats: + def test_singlefloat(self): + py.test.skip('requires singlefloats') _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit