[Piglit] [PATCH] arb_fb_no_attach: fix subtests to always run
Tapani Pälli
tapani.palli at intel.com
Sun Jan 24 22:17:36 PST 2016
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
On 01/24/2016 09:44 PM, Ilia Mirkin wrote:
> ---
> tests/spec/arb_framebuffer_no_attachments/atomic.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tests/spec/arb_framebuffer_no_attachments/atomic.c b/tests/spec/arb_framebuffer_no_attachments/atomic.c
> index 36c8d4b..0c62ac3 100644
> --- a/tests/spec/arb_framebuffer_no_attachments/atomic.c
> +++ b/tests/spec/arb_framebuffer_no_attachments/atomic.c
> @@ -135,7 +135,7 @@ piglit_init(int argc, char **argv)
>
> piglit_draw_rect(-1, -1, 2, 2);
>
> - pass = pass && compare_counter(piglit_width * piglit_height, "Basic");
> + pass &= compare_counter(piglit_width * piglit_height, "Basic");
>
> /* Reset counter and set 1x1 scissor rectangle. */
> reset_counter();
> @@ -147,7 +147,7 @@ piglit_init(int argc, char **argv)
>
> glDisable(GL_SCISSOR_TEST);
>
> - pass = pass && compare_counter(1, "glScissor");
> + pass &= compare_counter(1, "glScissor");
>
> /* Reset counter and set 2x2 viewport. */
> reset_counter();
> @@ -155,7 +155,7 @@ piglit_init(int argc, char **argv)
>
> piglit_draw_rect(-1, -1, 2, 2);
>
> - pass = pass && compare_counter(4, "glViewport");
> + pass &= compare_counter(4, "glViewport");
>
> glDeleteFramebuffers(1, &fbo);
> glDeleteVertexArrays(1, &vao);
>
More information about the Piglit
mailing list