summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2018-04-19 13:28:25 +0300
committerJonathan Corbet <corbet@lwn.net>2018-04-28 01:56:15 +0300
commita997a703d08f805eb8767fbc586fd938f09d13cc (patch)
tree6286c1b2d1686f143c874591e600e8405cf74c45
parent6dddd7a7ec34bd8680ef72de0229cf8a92bd01ab (diff)
downloadlinux-a997a703d08f805eb8767fbc586fd938f09d13cc.tar.xz
doc: dev-tools: kselftest.rst: update contributing new tests
Add a description that the kernel headers should be used as far as it is possible and then the system headers. Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Shuah Khan (Samsung OSG) <shuah@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/dev-tools/kselftest.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst
index e80850eefe13..3bf371a938d0 100644
--- a/Documentation/dev-tools/kselftest.rst
+++ b/Documentation/dev-tools/kselftest.rst
@@ -151,6 +151,11 @@ Contributing new tests (details)
TEST_FILES, TEST_GEN_FILES mean it is the file which is used by
test.
+ * First use the headers inside the kernel source and/or git repo, and then the
+ system headers. Headers for the kernel release as opposed to headers
+ installed by the distro on the system should be the primary focus to be able
+ to find regressions.
+
Test Harness
============