tests: add igt_subtest_f for snprintf'ing testnames
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 Aug 2013 11:47:47 +0000 (13:47 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 14 Aug 2013 11:47:47 +0000 (13:47 +0200)
commit6234658063b4080778c34228a444e96eb901279f
tree90bae911b39c7f00ea625fc0ba9b6ff3856afa99
parent1532af19d9bf962412bb150393aa10d13fae91d6
tests: add igt_subtest_f for snprintf'ing testnames

Useful when stitching together combinatorial testnames.

v2:
- ## rules are just fun. We need 2 indirections to actually get
  __LINE__ to properly expand.
- Kill stray ; which botched the logic.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/drmtest.h
tests/gem_partial_pwrite_pread.c
tests/gem_write_read_ring_switch.c