[pypy-svn] r23369 - pypy/branch/genc-gc-refactoring/test
arigo at codespeak.net
arigo at codespeak.net
Wed Feb 15 18:04:38 CET 2006
Author: arigo
Date: Wed Feb 15 18:04:37 2006
New Revision: 23369
Modified:
pypy/branch/genc-gc-refactoring/test/test_genc.py
Log:
Add py.test --view support (port from the trunk)
Modified: pypy/branch/genc-gc-refactoring/test/test_genc.py
==============================================================================
--- pypy/branch/genc-gc-refactoring/test/test_genc.py (original)
+++ pypy/branch/genc-gc-refactoring/test/test_genc.py Wed Feb 15 18:04:37 2006
@@ -11,6 +11,7 @@
from pypy.translator.tool.cbuild import enable_fast_compilation
from pypy.translator.gensupp import uniquemodulename
from pypy.translator.backendopt.all import backend_optimizations
+from pypy import conftest
# XXX this tries to make compiling faster for full-scale testing
# XXX tcc leaves some errors undetected! Bad!
@@ -32,7 +33,7 @@
a = t.buildannotator()
a.build_types(fn, argtypes)
t.buildrtyper().specialize()
- if view:
+ if view or conftest.option.view:
t.view()
backend_optimizations(t)
db = LowLevelDatabase(t)
More information about the Pypy-commit
mailing list