summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-02-09 16:06:38 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-02-09 16:06:38 +1100
commit4d272ca2703f6361ccf061361bd6b3486537c608 (patch)
treeee6328689a736d967b589501dc988dff0511c4ad /Documentation
parent682b689b5cead94d27197f793f0b6cb033fc278f (diff)
parent2195bff041486eb7fcceaf058acaedcd057efbdc (diff)
Merge remote-tracking branch 'kselftest/next'
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/kselftest.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/kselftest.txt b/Documentation/kselftest.txt
index e5c7254e73d7..d431dc82c228 100644
--- a/Documentation/kselftest.txt
+++ b/Documentation/kselftest.txt
@@ -95,3 +95,15 @@ In general, the rules for selftests are
* Don't cause the top-level "make run_tests" to fail if your feature is
unconfigured.
+
+Contributing new tests(details)
+===============================
+
+ * Use TEST_GEN_XXX if such binaries or files are generated during
+ compiling.
+ TEST_PROGS, TEST_GEN_PROGS mean it is the excutable tested by
+ default.
+ TEST_PROGS_EXTENDED, TEST_GEN_PROGS_EXTENDED mean it is the
+ executable which is not tested by default.
+ TEST_FILES, TEST_GEN_FILES mean it is the file which is used by
+ test.