[Intel-gfx] [PATCH 0/5] igt subtests support and piglit integration

Daniel Vetter daniel.vetter at ffwll.ch
Tue Nov 27 21:13:48 CET 2012


Hi all,

This little patchseries adds some support to the Makefiles so that the piglit
igt integration can automagically enumerate tests, without the need to specify
things at a hundred different places.

The second part adds some small infrastructure to support subtests in a simple
way. The piglit support adds each subtests as a sparate testcase, and starts
each binary with --run-subtest <testname> for each one. As a proof of concept
I've converted flip_test, but I plan to slouch through all the others in the
next few days.

I've pushed the piglit stuff to

http://cgit.freedesktop.org/~danvet/piglit/log/

Comments and flames highly welcome.

Cheers, Daniel

Daniel Vetter (5):
  tests: infrastructure for piglit runner
  tests: remove ZZ_check_dmesg from runner
  tests: dont polute stderr if the test succeeds/skips
  lib/drmtest: subtest infrastructure
  tests/flip_test: use subtest infrastructure

 lib/drmtest.c           | 63 +++++++++++++++++++++++++++++++++++++++++++++++++
 lib/drmtest.h           |  3 +++
 tests/Makefile.am       | 44 +++++++++++++++++++++++++++-------
 tests/flip_test.c       | 51 +++++++++++++++++++++------------------
 tests/gem_cpu_reloc.c   |  2 +-
 tests/gem_cs_prefetch.c |  2 +-
 tests/gem_ctx_create.c  |  2 +-
 tests/sysfs_rps.c       |  2 +-
 8 files changed, 133 insertions(+), 36 deletions(-)

-- 
1.7.11.7




More information about the Intel-gfx mailing list