[pypy-commit] pypy errno-again: fix test
arigo
noreply at buildbot.pypy.org
Fri Jan 16 12:40:01 CET 2015
Author: Armin Rigo <arigo at tunes.org>
Branch: errno-again
Changeset: r75380:1e065a1cd0e4
Date: 2015-01-16 12:33 +0100
http://bitbucket.org/pypy/pypy/changeset/1e065a1cd0e4/
Log: fix test
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
@@ -200,14 +200,11 @@
assert res == 8.0 * 300
loop, = log.loops_by_filename(self.filepath)
assert loop.match_by_id('cfficall', """
- setarrayitem_raw(i69, 0, i95, descr=<ArrayS 4>) # write 'errno'
p96 = force_token()
setfield_gc(p0, p96, descr=<FieldP pypy.interpreter.pyframe.PyFrame.vable_token .>)
- f97 = call_release_gil(i59, 1.0, 3, descr=<Callf 8 fi EF=6 OS=62>)
+ f97 = call_release_gil(27, i59, 1.0, 3, descr=<Callf 8 fi EF=6 OS=62>)
guard_not_forced(descr=...)
guard_no_exception(descr=...)
- i98 = getarrayitem_raw(i69, 0, descr=<ArrayS 4>) # read 'errno'
- setfield_gc(p65, i98, descr=<FieldS pypy.interpreter.executioncontext.ExecutionContext.inst__cffi_saved_errno .>)
""", ignore_ops=['guard_not_invalidated'])
def test_cffi_call_guard_not_forced_fails(self):
More information about the pypy-commit
mailing list