# HG changeset patch # User Ry4an Brase # Date 2010-04-14 05:24:47 # Node ID 26d1d23e5a2b72dd305c44e8153ebf1d847dad9d # Parent 4eb6311d217a9ce29acc05bef43cf5389f280418 Fix --blacklist when --jobs > 1 in run_tests.py. The options parsing logic replaces the options.blacklist initial value, a list of filenames, with a dict of test names to filenames. When runchildren rebuilds the command line to launch child processes the dict is flattened and provided as a malformed argument when a filename is expected. Fix is to remove the blacklist option from child invocations since the filtering is handled in the parent anyway. diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -657,6 +657,7 @@ def runchildren(options, tests): optcopy = dict(options.__dict__) optcopy['jobs'] = 1 + del optcopy['blacklist'] if optcopy['with_hg'] is None: optcopy['with_hg'] = os.path.join(BINDIR, "hg") optcopy.pop('anycoverage', None)