[Intel-gfx] [PATCH] tests: Document the Makefile variables a bit better

Daniel Vetter daniel.vetter at ffwll.ch
Thu Dec 12 22:47:01 CET 2013


Also, this is a test for the patchwork hook.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 tests/Makefile.sources | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index 571341242b54..e286a7cf5ea0 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -145,11 +145,18 @@ TESTS_scripts = \
 # This target contains testcases which support automagic subtest enumeration
 # from the piglit testrunner with --list-subtests and running individual
 # subtests with --run-subtest <testname>
+#
+# Your testcase should probably use an igt_main and igt_fixture and should have
+# a pile of igt_subtest blocks.
 multi_kernel_tests = \
 	$(TESTS_progs_M) \
 	$(TESTS_scripts_M) \
 	$(NULL)
 
+# This target is for simple testcase which don't expose any subtest.
+#
+# Your testcase should probably use igt_simple_main, but none of the other magic
+# blocks like igt_fixture or igt_subtest.
 single_kernel_tests = \
 	$(TESTS_progs) \
 	$(TESTS_scripts) \
-- 
1.8.1.4




More information about the Intel-gfx mailing list