linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc: dev-tools: kselftest.rst: update contributing new tests
@ 2018-06-29 10:02 anders.roxell
  2018-06-29 10:02 ` Anders Roxell
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: anders.roxell @ 2018-06-29 10:02 UTC (permalink / raw)


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 at linaro.org>
---
 Documentation/dev-tools/kselftest.rst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst
index 3bf371a938d0..4c546a35bd58 100644
--- a/Documentation/dev-tools/kselftest.rst
+++ b/Documentation/dev-tools/kselftest.rst
@@ -156,6 +156,9 @@ Contributing new tests (details)
    installed by the distro on the system should be the primary focus to be able
    to find regressions.
 
+ * If a new test needs specific kernel options, they should be enabled in
+   then config file in the same directory where the test is added.
+
 Test Harness
 ============
 
-- 
2.18.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [PATCH] doc: dev-tools: kselftest.rst: update contributing new tests
@ 2018-04-17  8:46 anders.roxell
  2018-04-19 10:28 ` [PATCH v2] " anders.roxell
  0 siblings, 1 reply; 18+ messages in thread
From: anders.roxell @ 2018-04-17  8:46 UTC (permalink / raw)


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 at linaro.org>
---
 Documentation/dev-tools/kselftest.rst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst
index e80850eefe13..27f08d6ba91c 100644
--- a/Documentation/dev-tools/kselftest.rst
+++ b/Documentation/dev-tools/kselftest.rst
@@ -151,6 +151,9 @@ 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, and then the system headers. The
+   internal headers should be the primary focus to be able to find regressions.
+
 Test Harness
 ============
 
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-06-29 15:02 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-29 10:02 [PATCH] doc: dev-tools: kselftest.rst: update contributing new tests anders.roxell
2018-06-29 10:02 ` Anders Roxell
2018-06-29 12:09 ` shuah
2018-06-29 12:09   ` Shuah Khan
2018-06-29 12:47   ` anders.roxell
2018-06-29 12:47     ` Anders Roxell
2018-06-29 12:52 ` [PATCH v2] " anders.roxell
2018-06-29 12:52   ` Anders Roxell
2018-06-29 13:29   ` shuah
2018-06-29 13:29     ` Shuah Khan
2018-06-29 15:02   ` corbet
2018-06-29 15:02     ` Jonathan Corbet
  -- strict thread matches above, loose matches on Subject: below --
2018-04-17  8:46 [PATCH] " anders.roxell
2018-04-19 10:28 ` [PATCH v2] " anders.roxell
2018-04-19 10:28   ` Anders Roxell
2018-04-24 19:35   ` shuah
2018-04-24 19:35     ` Shuah Khan
2018-04-27 22:56   ` corbet
2018-04-27 22:56     ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).