[Pixman] [PATCH v2] test: Add new fuzz tester targeting solid images

Pekka Paalanen ppaalanen at gmail.com
Fri May 15 06:34:04 PDT 2015


On Fri, 8 May 2015 11:38:45 +0300
Pekka Paalanen <ppaalanen at gmail.com> wrote:

> On Thu,  7 May 2015 19:32:46 +0100
> Ben Avison <bavison at riscosopen.org> wrote:
> 
> > This places a heavier emphasis on solid images than the other fuzz testers,
> > and tests both single-pixel repeating bitmap images as well as those created
> > using pixman_image_create_solid_fill(). In the former case, it also
> > exercises the case where the bitmap contents are written to after the
> > image's first use, which is not a use-case that any other test has
> > previously covered.
> > ---
> >  test/Makefile.sources |    1 +
> >  test/solid-test.c     |  348 +++++++++++++++++++++++++++++++++++++++++++++++++
> >  2 files changed, 349 insertions(+), 0 deletions(-)
> >  create mode 100644 test/solid-test.c

> > +    return fuzzer_test_main ("solid", 500000,
> > +			     0x1B6DFF8D,
> > +			     test_solid, argc, argv);
> > +}
> 
> Again, tested with both my reference build and a x86_64 optimized
> build, and both pass.
> 
> With that one fix added,
> Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> 
> I look forward to pushing this, say, mid next week. I can add that fix
> myself, too.

Okay, pushed this with the fix added but otherwise as is.
   cf086d4..82f9b4f  master -> master


Thanks,
pq


More information about the Pixman mailing list