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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Also, this is a test for the patchwork hook.

Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux