[pypy-commit] pypy default: Run -A tests even if they require translation options (specified without
arigo
noreply at buildbot.pypy.org
Wed Mar 27 17:49:22 CET 2013
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r62836:0397468104b6
Date: 2013-03-27 17:50 +0100
http://bitbucket.org/pypy/pypy/changeset/0397468104b6/
Log: Run -A tests even if they require translation options (specified
without the "translation." prefix, e.g. in
pypy/module/_continuation/support.py: "continuation=True")
diff --git a/pypy/tool/pytest/objspace.py b/pypy/tool/pytest/objspace.py
--- a/pypy/tool/pytest/objspace.py
+++ b/pypy/tool/pytest/objspace.py
@@ -63,6 +63,8 @@
continue
if info is None:
py.test.skip("cannot runappdirect this test on top of CPython")
+ if ('translation.' + key) in info:
+ key = 'translation.' + key
has = info.get(key, None)
if has != value:
#print sys.pypy_translation_info
More information about the pypy-commit
mailing list