[pypy-commit] pypy ffi-backend: Skip three tests of '_ffi' which are not optimized any more.

arigo noreply at buildbot.pypy.org
Tue Aug 7 10:32:57 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: ffi-backend
Changeset: r56624:55c27a7c1b04
Date: 2012-08-07 08:27 +0000
http://bitbucket.org/pypy/pypy/changeset/55c27a7c1b04/

Log:	Skip three tests of '_ffi' which are not optimized any more.

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
@@ -27,6 +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")
         loop, = log.loops_by_filename(self.filepath)
         if 'ConstClass(pow)' in repr(loop):   # e.g. OS/X
             pow_addr = 'ConstClass(pow)'
@@ -134,6 +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")
         assert opnames.count('call_release_gil') == 1
         idx = opnames.index('call_release_gil')
         call = ops[idx]
@@ -158,6 +160,7 @@
             return struct.getfield('x')
         #
         log = self.run(main, [])
+        py.test.skip("not optimized any more")
         loop, = log.loops_by_filename(self.filepath)
         assert loop.match_by_id('getfield', """
             guard_not_invalidated(descr=...)


More information about the pypy-commit mailing list