From a997a703d08f805eb8767fbc586fd938f09d13cc Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Thu, 19 Apr 2018 12:28:25 +0200 Subject: 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 Reviewed-by: Shuah Khan (Samsung OSG) Signed-off-by: Jonathan Corbet --- Documentation/dev-tools/kselftest.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Documentation') 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 ============ -- cgit