run-tests: force to test pure on pypy as well stable
authorRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>
Tue, 23 Mar 2010 15:23:04 +0100
branchstable
changeset 722 85da4926cf39
parent 721 1dbc96b10ebd
child 723 1c69e8924c9c
child 724 211fa4b9803d
run-tests: force to test pure on pypy as well [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Tue Mar 23 15:22:17 2010 +0100
+++ b/tests/run-tests.py	Tue Mar 23 15:23:04 2010 +0100
@@ -144,7 +144,7 @@
     (options, args) = parser.parse_args()
 
     # jython is always pure
-    if 'java' in sys.platform:
+    if 'java' in sys.platform or '__pypy__' in sys.modules:
         options.pure = True
 
     if options.with_hg: