# HG changeset patch # User Augie Fackler # Date 1304523550 18000 # Node ID 7303030144911e80bdc638e5687d0a86aaa0bec7 # Parent 9bed13113742c7d792884cbd0757c8cfe4b93fcf run-tests.py: correctly handle list options with parallel tasks [ original upstream message ] diff -r 9bed13113742 -r 730303014491 tests/run-tests.py --- a/tests/run-tests.py Mon May 02 10:11:18 2011 +0200 +++ b/tests/run-tests.py Wed May 04 10:39:10 2011 -0500 @@ -917,6 +917,9 @@ name = '--' + opt.replace('_', '-') if value is True: opts.append(name) + elif isinstance(value, list): + for v in value: + opts.append(name + '=' + str(v)) elif value is not None: opts.append(name + '=' + str(value))