[Python-checkins] cpython (3.2): Make regrtest complain when -M and -j are used together.
nadeem.vawda
python-checkins at python.org
Sat Aug 27 15:24:45 CEST 2011
http://hg.python.org/cpython/rev/b1f90c09fe9c
changeset: 72099:b1f90c09fe9c
branch: 3.2
parent: 72096:40f7a6e71930
user: Nadeem Vawda <nadeem.vawda at gmail.com>
date: Sat Aug 27 15:22:05 2011 +0200
summary:
Make regrtest complain when -M and -j are used together.
-j doesn't pass the memlimit on to child processes, so this doesn't work at
present, and even if it did, running multiple bigmem tests at once would
usually not be desirable (since you generally want to devote as much of the
available RAM as possible to each test).
files:
Lib/test/regrtest.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -412,6 +412,8 @@
usage("-T and -j don't go together!")
if use_mp and findleaks:
usage("-l and -j don't go together!")
+ if use_mp and support.max_memuse:
+ usage("-M and -j don't go together!")
if failfast and not (verbose or verbose3):
usage("-G/--failfast needs either -v or -W")
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list