lib: ensure subtests are not added to simple tests

Simple tests do not support subtests, so fail if igt_subtest is used in
one.

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Thomas Wood
2014-11-25 14:10:04 +00:00
parent 3bebf3dd01
commit dbac905600
4 changed files with 35 additions and 0 deletions
+2
View File
@@ -5,6 +5,7 @@ check_PROGRAMS = \
igt_list_only \
igt_no_subtest \
igt_simulation \
igt_simple_test_subtests \
igt_timeout \
$(NULL)
@@ -23,5 +24,6 @@ XFAIL_TESTS = \
igt_no_exit \
igt_no_exit_list_only \
igt_no_subtest \
igt_simple_test_subtests \
igt_timeout \
$(NULL)