Author: mattip <[email protected]>
Branch:
Changeset: r82967:b2f40ec51e8b
Date: 2016-03-11 15:21 +0200
http://bitbucket.org/pypy/pypy/changeset/b2f40ec51e8b/
Log: when running tests in parallel, restrict make to a single core
diff --git a/testrunner/runner.py b/testrunner/runner.py
--- a/testrunner/runner.py
+++ b/testrunner/runner.py
@@ -237,6 +237,11 @@
N = run_param.parallel_runs
if N > 1:
out.write("running %d parallel test workers\n" % N)
+ s = 'setting'
+ if os.environ.get('MAKEFLAGS'):
+ s = 'overriding'
+ out.write("%s MAKEFLAGS to '-j1'\n" % s)
+ os.environ['MAKEFLAGS'] = '-j1'
failure = False
for testname in testdirs:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit