From 8ab1416a6d51a6cbc4875b496f01f70dc43612f8 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Fri, 29 Jun 2018 14:52:01 +0200 Subject: [PATCH] doc: dev-tools: kselftest.rst: update contributing new tests 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 Reviewed-by: Shuah Khan (Samsung OSG) Signed-off-by: Jonathan Corbet --- Documentation/dev-tools/kselftest.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst index 3bf371a938d0..6f653acea248 100644 --- a/Documentation/dev-tools/kselftest.rst +++ b/Documentation/dev-tools/kselftest.rst @@ -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 ============