[pypy-commit] pypy default: attempt to fix this test

arigo noreply at buildbot.pypy.org
Thu Feb 19 12:09:20 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r75995:3495c123cffb
Date: 2015-02-19 12:09 +0100
http://bitbucket.org/pypy/pypy/changeset/3495c123cffb/

Log:	attempt to fix this test

diff --git a/pypy/module/pypyjit/test_pypy_c/test_thread.py b/pypy/module/pypyjit/test_pypy_c/test_thread.py
--- a/pypy/module/pypyjit/test_pypy_c/test_thread.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_thread.py
@@ -67,21 +67,11 @@
         i58 = call_release_gil(0, _, i37, 1, descr=<Calli 4 ii EF=6>)
         guard_not_forced(descr=...)
         guard_no_exception(descr=...)
-        i59 = int_is_true(i58)
-        guard_true(i59, descr=...)
-        i60 = int_sub(i44, 1)
-        p62 = force_token()
-        setfield_gc(p0, p62, descr=<FieldP pypy.interpreter.pyframe.PyFrame.vable_token 8>)
-        i63 = call_release_gil(0, _, i37, 0, descr=<Calli 4 ii EF=6>)
-        guard_not_forced(descr=...)
-        guard_no_exception(descr=...)
-        i64 = int_is_true(i63)
-        guard_false(i64, descr=...)
-        p65 = force_token()
-        setfield_gc(p0, p65, descr=<FieldP pypy.interpreter.pyframe.PyFrame.vable_token 8>)
-        call_release_gil(0, _, i37, descr=<Callv 0 i EF=6>)
-        guard_not_forced(descr=...)
-        guard_no_exception(descr=...)
+        i58 = int_sub(i44, 1)
+        i59 = call(ConstClass(RPyThreadAcquireLockTimed), i37, _, 0, descr=...)
+        i60 = int_is_true(i59)
+        guard_false(i60, descr=...)
+        call(ConstClass(RPyThreadReleaseLock), i37, descr=<Callv 0 i EF=2>)
         guard_not_invalidated(descr=...)
         --TICK--
         jump(..., descr=...)


More information about the pypy-commit mailing list