[pypy-commit] pypy default: skip tests which require building extension modules
gutworth
noreply at buildbot.pypy.org
Sun Mar 11 22:56:38 CET 2012
Author: Benjamin Peterson <benjamin at python.org>
Branch:
Changeset: r53304:39df284f9e70
Date: 2012-03-11 14:52 -0700
http://bitbucket.org/pypy/pypy/changeset/39df284f9e70/
Log: skip tests which require building extension modules
diff --git a/pypy/translator/c/test/test_genc.py b/pypy/translator/c/test/test_genc.py
--- a/pypy/translator/c/test/test_genc.py
+++ b/pypy/translator/c/test/test_genc.py
@@ -16,6 +16,8 @@
def compile(fn, argtypes, view=False, gcpolicy="ref", backendopt=True,
annotatorpolicy=None):
+ if argtypes is not None and "__pypy__" in sys.builtin_module_names:
+ py.test.skip("requires building cpython extension modules")
t = Translation(fn, argtypes, gc=gcpolicy, backend="c",
policy=annotatorpolicy)
if not backendopt:
More information about the pypy-commit
mailing list