[Pixman] [RFC PATCH 3/3] test: add fence-image-self-test

Ben Avison bavison at riscosopen.org
Wed May 13 16:27:36 PDT 2015


On Fri, 08 May 2015 13:45:37 +0100, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> +    ok &= test_image_faults (PIXMAN_a8r8g8b8, 7, 5);
> +    ok &= test_image_faults (PIXMAN_r8g8b8, 7, 5);
> +    ok &= test_image_faults (PIXMAN_r5g6b5, 7, 5);
> +    ok &= test_image_faults (PIXMAN_a8, 7, 5);
> +    ok &= test_image_faults (PIXMAN_a4, 7, 5);
> +    ok &= test_image_faults (PIXMAN_a1, 7, 5);

Maybe there's a case for checking that the addresses just the other side
of the boundaries *don't* cause segfaults, in addition to checking that
these ones *do*?

Ben


More information about the Pixman mailing list