Author: hager <sven.ha...@uni-duesseldorf.de> Branch: ppc-jit-backend Changeset: r46189:fbb215ad0600 Date: 2011-08-02 11:51 +0200 http://bitbucket.org/pypy/pypy/changeset/fbb215ad0600/
Log: merge diff --git a/pypy/jit/backend/ppc/ppcgen/test/test_runner.py b/pypy/jit/backend/ppc/ppcgen/test/test_runner.py --- a/pypy/jit/backend/ppc/ppcgen/test/test_runner.py +++ b/pypy/jit/backend/ppc/ppcgen/test/test_runner.py @@ -4,14 +4,8 @@ class FakeStats(object): pass -#def skip(self): -# py.test.skip("not done") - class TestPPC(LLtypeBackendTest): - test_float_operations = skip - def setup_method(self, method): self.cpu = PPC_64_CPU(rtyper=None, stats=FakeStats()) self.cpu.setup_once() - diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py --- a/pypy/jit/backend/test/runner_test.py +++ b/pypy/jit/backend/test/runner_test.py @@ -392,6 +392,8 @@ def test_float_operations(self): from pypy.jit.metainterp.test.test_executor import get_float_tests + if not self.cpu.supports_floats: + py.test.skip("requires floats") for opnum, boxargs, rettype, retvalue in get_float_tests(self.cpu): res = self.execute_operation(opnum, boxargs, rettype) if isinstance(res, BoxFloat): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit