[Piglit] [PATCH] Accelerate running a bit more (for both piglit-print-commands.py and piglit-run.py:

Chad Versace chad.versace at linux.intel.com
Fri May 11 12:26:30 PDT 2012


On 05/11/2012 02:04 AM, Shuang He wrote:
> Before:
> time ./piglit-print-commands.py -t 'asmparsertest/ARBfp1.0/size_specifier-31.txt' -x 'asmparsertest/ARBfp1.0/size_specifier-31.txt'.+ -x valgrind/ tests/all.tests
> asmparsertest/ARBfp1.0/size_specifier-31.txt ::: /GFX/Test/Piglit/piglit/framework/../bin/asmparsertest -auto ARBfp1.0 tests/asmparsertest/shaders/ARBfp1.0/size_specifier-31.txt
> 
> real    0m1.171s
> user    0m1.132s
> sys     0m0.039s
> 
> After:
> time ./piglit-print-commands.py -t 'asmparsertest/ARBfp1.0/size_specifier-31.txt' -x 'asmparsertest/ARBfp1.0/size_specifier-31.txt'.+ -x valgrind/ tests/all.tests
> asmparsertest/ARBfp1.0/size_specifier-31.txt ::: /GFX/Test/Piglit/piglit/framework/../bin/asmparsertest -auto ARBfp1.0 tests/asmparsertest/shaders/ARBfp1.0/size_specifier-31.txt
> 
> real    0m0.331s
> user    0m0.299s
> sys     0m0.031s
> ---
>  tests/all.tests |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/tests/all.tests b/tests/all.tests
> index 9ebc870..7f2ecdd 100644
> --- a/tests/all.tests
> +++ b/tests/all.tests
> @@ -34,7 +34,7 @@ def add_plain_test(group, name):
>  	group[name] = PlainExecTest([name, '-auto'])
>  
>  def concurrent_test(args):
> -	test = PlainExecTest(args + " -auto -fbo")
> +	test = PlainExecTest(args.split() + ['-auto', '-fbo'])
>  	test.runConcurrent = True
>  	return test
>  

Patch is pushed. Thanks.

----
Chad Versace
chad.versace at linux.intel.com


More information about the Piglit mailing list