lib: Add igt_subtest_group

Useful for creating common setup code in igt_fixture which is only
needed by a subset of tests. And since I'm a good citizen it comes
with a library testcase/example included.

v2: Make testcase nastier to ensure a subtest group SKIPS when it's
parent is skipping already. I accidentally got this right, but let's
make sure.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2016-03-18 21:46:54 +01:00
parent f129ee8a39
commit 72d04b8453
6 changed files with 108 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@ check_PROGRAMS = \
igt_timeout \
igt_invalid_subtest_name \
igt_segfault \
igt_subtest_group \
igt_assert \
igt_exit_handler \
$(NULL)