[Intel-gfx] [PATCH i-g-t 0/4] Move imported bo pread/pwrite tests
Chris Wilson
chris at chris-wilson.co.uk
Thu Oct 12 22:39:57 UTC 2017
Quoting Daniele Ceraolo Spurio (2017-10-12 23:30:40)
> We already had coverage in prime_vgem.c, but since we're testing
> pread/pwrite ioctl it makes more sense to have it in the corresponding
> test binaries
Redundancy is not an issue (sometimes it is a virtue, the slight
variations in test setup lead to wider coverage and serendipity - when we
don't have a fuzzer, we have to rely on random variations between
authors). The purpose of each test is different, one is testing prime and
interactions with i915 on/from a foreign bo; the other looking at
pwrite/pread in depth. Each subtest is meaningful as part of the
encompassing test.
The counter proposal is to be able to select a cross-selection of
subtests for a given set of tags/functions/code. And we still need a
fuzzer, model based or not.
-Chris
More information about the Intel-gfx
mailing list