On Tue, Apr 8, 2014 at 4:36 PM, Dylan Baker <[email protected]> wrote:
> This fixes a regression introduced in ec37e0fa951
>
> If piglit-summary-html.py is run with -e all it will except. This is
> because I missed converting the various statuses to constants from
> classes
>
> Signed-off-by: Dylan Baker <[email protected]>

Reviewed-by: Ilia Mirkin <[email protected]>

> ---
>  piglit-summary-html.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/piglit-summary-html.py b/piglit-summary-html.py
> index a37b337..4a51721 100755
> --- a/piglit-summary-html.py
> +++ b/piglit-summary-html.py
> @@ -71,8 +71,8 @@ def main():
>      if args.exclude_details:
>          # If exclude-results has all, then change it to be all
>          if 'all' in args.exclude_details:
> -            args.exclude_details = [status.Skip(), status.Pass(), 
> status.Warn(),
> -                                    status.Crash(), status.Fail()]
> +            args.exclude_details = [status.SKIP, status.PASS, status.WARN,
> +                                    status.CRASH, status.FAIL]
>          else:
>              args.exclude_details = [status.status_lookup(i) for i in
>                                      args.exclude_details]
> --
> 1.9.1
>
> _______________________________________________
> Piglit mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/piglit
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to