doc: dev-tools: kselftest.rst: update contributing new tests
authorAnders Roxell <anders.roxell@linaro.org>
Thu, 19 Apr 2018 10:28:25 +0000 (12:28 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 27 Apr 2018 22:56:15 +0000 (16:56 -0600)
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>
Documentation/dev-tools/kselftest.rst

index e80850eefe138156cc94db035384391207bb23ec..3bf371a938d033c45305531ad7e0b1c5bd3cbc3a 100644 (file)
@@ -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
 ============