changeset 10765:fd31a3237498

Fix run-tests.py -jX after 2ed667a9dfcb
author Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>
date Tue, 23 Mar 2010 15:22:17 +0100
parents 68a7b9ed3c71
children afbcea270bb8
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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