Author: Armin Rigo <[email protected]>
Branch: stmgc-c4
Changeset: r66912:27e74b97ecf6
Date: 2013-09-11 20:26 +0200
http://bitbucket.org/pypy/pypy/changeset/27e74b97ecf6/
Log: Fix the test
diff --git a/rpython/jit/codewriter/test/test_call.py
b/rpython/jit/codewriter/test/test_call.py
--- a/rpython/jit/codewriter/test/test_call.py
+++ b/rpython/jit/codewriter/test/test_call.py
@@ -200,14 +200,14 @@
assert call_descr.extrainfo.is_call_release_gil() is False
assert call_descr.extrainfo.call_needs_inevitable() is False
-def test_releases_gil_analyzer_needs_inevitable():
+def test_call_needs_inevitable():
from rpython.jit.backend.llgraph.runner import LLGraphCPU
for transactionsafe in (True, False):
T = rffi.CArrayPtr(rffi.TIME_T)
external = rffi.llexternal("time", [T], rffi.TIME_T,
_nowrapper=True,
- threadsafe=False,
+ threadsafe=True,
transactionsafe=transactionsafe)
@jit.dont_look_inside
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit