diff mbox

tests: Document the Makefile variables a bit better

Message ID 1386884821-26621-1-git-send-email-daniel.vetter@ffwll.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Vetter Dec. 12, 2013, 9:47 p.m. UTC
Also, this is a test for the patchwork hook.

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

Patch

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) \