Author: Armin Rigo <[email protected]>
Branch:
Changeset: r75848:aec97d922bdb
Date: 2015-02-13 10:54 +0100
http://bitbucket.org/pypy/pypy/changeset/aec97d922bdb/
Log: Replace explicit xfails with skips in the hope that these are more
supported by our automated test runner infrastructure.
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,7 +27,7 @@
log = self.run(main, [libm_name])
pow_addr, res = log.result
assert res == 8.0 * 300
- py.test.xfail() # XXX re-optimize _ffi for the JIT?
+ py.test.skip("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)'
@@ -134,7 +134,7 @@
ops = loop.allops()
opnames = log.opnames(ops)
assert opnames.count('new_with_vtable') == 1 # only the virtualref
- py.test.xfail() # XXX re-optimize _ffi for the JIT?
+ py.test.skip("XXX re-optimize _ffi for the JIT?")
assert opnames.count('call_release_gil') == 1
idx = opnames.index('call_release_gil')
call = ops[idx]
@@ -159,7 +159,7 @@
return struct.getfield('x')
#
log = self.run(main, [])
- py.test.xfail() # XXX re-optimize _ffi for the JIT?
+ py.test.skip("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
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit