Author: mattip <matti.pi...@gmail.com>
Branch: 
Changeset: r72035:bf4a503315e1
Date: 2014-06-12 18:30 +0300
http://bitbucket.org/pypy/pypy/changeset/bf4a503315e1/

Log:    whoops on parallel_runs of tests

diff --git a/testrunner/runner.py b/testrunner/runner.py
--- a/testrunner/runner.py
+++ b/testrunner/runner.py
@@ -234,7 +234,7 @@
 
     N = run_param.parallel_runs
     if N > 1:
-        out.write("running %d parallel test workers")
+        out.write("running %d parallel test workers" % N)
     failure = False
 
     for testname in testdirs:
@@ -355,7 +355,7 @@
                       help="configuration python file (optional)")
     parser.add_option("--root", dest="root", default=".",
                       help="root directory for the run")
-    parser.add_option("--parallel-runs", dest="parallel_runs", default=1,
+    parser.add_option("--parallel-runs", dest="parallel_runs", default=0,
                       type="int",
                       help="number of parallel test runs")
     parser.add_option("--dry-run", dest="dry_run", default=False,
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to