[Piglit] [PATCH 1/3] programs/run.py: Fix options recording

Ilia Mirkin imirkin at alum.mit.edu
Wed Jun 25 16:15:01 PDT 2014


Series is Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Wed, Jun 25, 2014 at 7:05 PM, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> This was accidentally removed in a previous commit.
>
> Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
> ---
>  framework/programs/run.py | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/framework/programs/run.py b/framework/programs/run.py
> index bd9bd2e..ab3ce0e 100644
> --- a/framework/programs/run.py
> +++ b/framework/programs/run.py
> @@ -165,6 +165,8 @@ def run(input_):
>      # Create a dictionary to pass to initialize json, it needs the contents of
>      # the env dictionary and profile and platform information
>      options = {'profile': args.test_profile}
> +    for key, value in opts:
> +        options[key] = value
>      if args.platform:
>          options['platform'] = args.platform
>      json_writer.initialize_json(options, results.name,
> --
> 2.0.0
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list