Chris Forbes <[email protected]> writes:

> Generated from the following semantic patch:
>
> @@
> expression VER;
> expression MSG;
> @@
>
> -     if (piglit_get_gl_version() < VER) {
> -             printf(MSG);
> -             piglit_report_result(PIGLIT_SKIP);
> (
> -             exit(1);
> |
> )
> -     }
>
> +   piglit_require_gl_version(VER);

Nice cleanup!

Reviewed-by: Eric Anholt <[email protected]>

Attachment: pgpysnAIkGoe9.pgp
Description: PGP signature

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to