Author: Armin Rigo <ar...@tunes.org> Branch: ffi-backend Changeset: r56648:b5b39e4beecb Date: 2012-08-08 09:25 +0200 http://bitbucket.org/pypy/pypy/changeset/b5b39e4beecb/
Log: Fix diff --git a/pypy/module/pypyjit/test_pypy_c/test__ffi.py b/pypy/module/pypyjit/test_pypy_c/test__ffi.py --- a/pypy/module/pypyjit/test_pypy_c/test__ffi.py +++ b/pypy/module/pypyjit/test_pypy_c/test__ffi.py @@ -1,4 +1,4 @@ -import sys +import sys, py from pypy.module.pypyjit.test_pypy_c.test_00_model import BaseTestPyPyC class Test__ffi(BaseTestPyPyC): @@ -27,7 +27,7 @@ log = self.run(main, [libm_name]) pow_addr, res = log.result assert res == 8.0 * 300 - py.test.skip("not optimized any more") + py.test.xfail() # XXX re-optimize _ffi for the JIT? loop, = log.loops_by_filename(self.filepath) if 'ConstClass(pow)' in repr(loop): # e.g. OS/X pow_addr = 'ConstClass(pow)' @@ -135,7 +135,7 @@ ops = loop.allops() opnames = log.opnames(ops) assert opnames.count('new_with_vtable') == 1 # only the virtualref - py.test.skip("not optimized any more") + py.test.xfail() # XXX re-optimize _ffi for the JIT? assert opnames.count('call_release_gil') == 1 idx = opnames.index('call_release_gil') call = ops[idx] @@ -160,7 +160,7 @@ return struct.getfield('x') # log = self.run(main, []) - py.test.skip("not optimized any more") + py.test.xfail() # XXX re-optimize _ffi for the JIT? loop, = log.loops_by_filename(self.filepath) assert loop.match_by_id('getfield', """ guard_not_invalidated(descr=...) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit