[Piglit] [PATCH] Fix 'piglit resume'
Dylan Baker
dylan at pnwbakers.com
Fri Dec 14 23:33:52 UTC 2018
Quoting Kenneth Graunke (2018-12-14 12:45:51)
> metadata.json contains 'force_glsl' but not 'glsl'. I guess it must
> have gotten renamed at some point. Fixes the following traceback when
> attempting to call 'piglit resume':
>
> Traceback (most recent call last):
> File "/home/kayden/Projects/piglit/piglit", line 178, in <module>
> main()
> File "/home/kayden/Projects/piglit/piglit", line 174, in main
> sys.exit(runner(args))
> File "/home/kayden/Projects/piglit/framework/exceptions.py", line 52, in _inner
> func(*args, **kwargs)
> File "/home/kayden/Projects/piglit/framework/programs/run.py", line 439, in resume
> options.OPTIONS.force_glsl = results.options['glsl']
> ---
> framework/programs/run.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/framework/programs/run.py b/framework/programs/run.py
> index df6ebe7aa..d0a3fcfe9 100644
> --- a/framework/programs/run.py
> +++ b/framework/programs/run.py
> @@ -436,7 +436,7 @@ def resume(input_):
> options.OPTIONS.process_isolation = results.options['process_isolation']
> options.OPTIONS.jobs = args.jobs
> options.OPTIONS.no_retry = args.no_retry
> - options.OPTIONS.force_glsl = results.options['glsl']
> + options.OPTIONS.force_glsl = results.options['force_glsl']
>
> core.get_config(args.config_file)
>
> --
> 2.19.1
>
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20181214/c0dfb999/attachment.sig>
More information about the Piglit
mailing list