[PATCH 1 of 2] fix run-tests.py -jX after i broke it

Ronny Pfannschmidt Ronny.Pfannschmidt at gmx.de
Tue Mar 23 09:26:34 CDT 2010


# HG changeset patch
# User Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
# Date 1269354137 -3600
# Node ID 135322fa86c91581f88ce887166d2c317259419d
# Parent  2ed667a9dfcb6fd28667bbd86bac1daa5146672b
fix run-tests.py -jX after i broke it

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -144,7 +144,8 @@ def parseargs():
     (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


More information about the Mercurial-devel mailing list