[pypy-svn] r31281 - pypy/dist/pypy/translator/llvm/test
rxe at codespeak.net
rxe at codespeak.net
Mon Aug 14 04:59:11 CEST 2006
Author: rxe
Date: Mon Aug 14 04:59:06 2006
New Revision: 31281
Modified:
pypy/dist/pypy/translator/llvm/test/runtest.py
Log:
add ability to not run in isolated mode (useful for debugging)
Modified: pypy/dist/pypy/translator/llvm/test/runtest.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/test/runtest.py (original)
+++ pypy/dist/pypy/translator/llvm/test/runtest.py Mon Aug 14 04:59:06 2006
@@ -9,6 +9,7 @@
# test options
run_isolated_only = True
+do_not_isolate = False
def _cleanup(leave=0):
# no test should ever need more than 5 compiled functions
@@ -39,10 +40,13 @@
return True
def compile_test(function, annotation, isolate=True, **kwds):
- " returns module and compiled function "
+ " returns module and compiled function "
if llvm_test():
if run_isolated_only and not isolate:
py.test.skip("skipping not isolated test")
+
+ # turn off isolation?
+ isolate = isolate and not do_not_isolate
# maintain only 3 isolated process (if any)
_cleanup(leave=3)
More information about the Pypy-commit
mailing list