[Piglit] [PATCH 1/3] piglit-run: add back -c0
Chad Versace
chad.versace at linux.intel.com
Tue Sep 24 10:28:39 PDT 2013
On 09/21/2013 01:28 PM, Kenneth Graunke wrote:
> On 09/16/2013 11:08 AM, Marek Olšák wrote:
>> ---
>> piglit-run.py | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/piglit-run.py b/piglit-run.py
>> index e8e11b7..7945b21 100755
>> --- a/piglit-run.py
>> +++ b/piglit-run.py
>> @@ -62,7 +62,7 @@ def main():
>> action = "append",
>> metavar = "<regex>",
>> help = "Exclude matching tests (can be used more than once)")
>> - parser.add_argument("--no-concurrency",
>> + parser.add_argument("-c0", "--no-concurrency",
>> action = "store_false",
>> dest = "concurrency",
>> help = "Disable concurrent test runs")
>>
>
> I like having a short option for this. I wasn't crazy about "-c 0", and
> am also not crazy about "-c0".
>
> How about one of:
>
> -1 (run using one thread)
> -s (run single-threaded)
>
> Using -1 makes a lot of sense to me.
I like -1. I think it's intuitive.
More information about the Piglit
mailing list