doc: dev-tools: kselftest.rst: update contributing new tests
authorAnders Roxell <anders.roxell@linaro.org>
Fri, 29 Jun 2018 12:52:01 +0000 (14:52 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 29 Jun 2018 15:01:50 +0000 (09:01 -0600)
Add a description that kernel config options should be added into a
config file that is placed next to the newly added test.

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 3bf371a938d033c45305531ad7e0b1c5bd3cbc3a..6f653acea248458971b472c032f58b896ea2f1a2 100644 (file)
@@ -156,6 +156,11 @@ Contributing new tests (details)
    installed by the distro on the system should be the primary focus to be able
    to find regressions.
 
+ * If a test needs specific kernel config options enabled, add a config file in
+   the test directory to enable them.
+
+   e.g: tools/testing/selftests/android/ion/config
+
 Test Harness
 ============