Fix run-tests.py -jX after 2ed667a9dfcb
authorRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>
Tue, 23 Mar 2010 15:22:17 +0100
changeset 10765 fd31a3237498
parent 10763 68a7b9ed3c71
child 10766 afbcea270bb8
Fix run-tests.py -jX after 2ed667a9dfcb
tests/run-tests.py
--- a/tests/run-tests.py	Tue Mar 23 22:59:31 2010 +0100
+++ b/tests/run-tests.py	Tue Mar 23 15:22:17 2010 +0100
@@ -144,7 +144,8 @@
     (options, args) = parser.parse_args()
 
     # jython is always pure
-    options.pure = options.pure or 'java' in sys.platform
+    if 'java' in sys.platform:
+        options.pure = True
 
     if options.with_hg:
         if not (os.path.isfile(options.with_hg) and