[igt-dev] [PATCH i-g-t] i915/selftest: Allow filtering of individual subtests

Chris Wilson chris at chris-wilson.co.uk
Thu Jan 24 15:01:55 UTC 2019


Quoting Katarzyna Dec (2019-01-24 14:28:27)
> On Tue, Jan 22, 2019 at 06:35:21PM +0000, Chris Wilson wrote:
> > Take an environment variable, SELFTESTS=foo,bar, and pass that along to
> > the kernel (as i915.st_filter=foo,bar) to provide fine grained test
> > selection. This can be either as an exact match to select only that
> > test, or to exclude only test. For example,
> > 
> > SELFTESTS=igt_vma_create,igt_vma_pin1 i915_selftest --run mock_vma
> > SELFTESTS=!igt_vma_create i915_selftest --run mock_vma
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> 
> If I understand correctly we can choose specific subtest or exclude specific
> subtest from binary?

Hopefully,
https://patchwork.freedesktop.org/patch/279600/
explains it a little more clearer / completely.
-Chris


More information about the igt-dev mailing list