All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] igt subtests support and piglit integration
@ 2012-11-27 20:13 Daniel Vetter
  2012-11-27 20:13 ` [PATCH 1/5] tests: infrastructure for piglit runner Daniel Vetter
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Daniel Vetter @ 2012-11-27 20:13 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-11-29 11:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 20:13 [PATCH 0/5] igt subtests support and piglit integration Daniel Vetter
2012-11-27 20:13 ` [PATCH 1/5] tests: infrastructure for piglit runner Daniel Vetter
2012-11-27 20:13 ` [PATCH 2/5] tests: remove ZZ_check_dmesg from runner Daniel Vetter
2012-11-27 20:13 ` [PATCH 3/5] tests: dont polute stderr if the test succeeds/skips Daniel Vetter
2012-11-27 20:13 ` [PATCH 4/5] lib/drmtest: subtest infrastructure Daniel Vetter
2012-11-27 20:13 ` [PATCH 5/5] tests/flip_test: use " Daniel Vetter
2012-11-29 11:30   ` Jani Nikula

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.