Skip to contentSkip to conversation

doc: dev-tools: kselftest.rst: update contributing new tests

PATCH Superseded Anders Roxell 3 participants 5 messages Apr 17, 2018 – Apr 27, 2018

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <anders.roxell at linaro.org>
---
 Documentation/dev-tools/kselftest.rst | 3 +++
 1 file changed, 3 insertions(+)
Documentation/dev-tools/kselftest.rst +3 -0
index e80850eefe13..27f08d6ba91c 100644
@@ -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
 ============
 
Signature · 6 lines
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
maintainer
#1 lore raw
Quoted 13 lines · Anders Roxell

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(+)
Documentation/dev-tools/kselftest.rst +0 -0
index e80850eefe13..27f08d6ba91c 100644

Documentation/dev-tools/kselftest.rst Contributing new tests (details) · line 155

Quoted 5 lines
Documentation/dev-tools/kselftest.rst +2 -0
@@ -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.

Clarifying the location of the headers might be helpful. This description uses different terminology to describe kernel headers.

"First use the headers inside the kernel sources and/or git reo" would make this clear. Instead of "internal headers" headers for the kernel release as opposed to headers installed by the distro on the system would make a clear distinction.

thanks,
-- Shuah
--
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

#2 lore raw

PATCH v2 1/1 doc: dev-tools: kselftest.rst: update contributing new tests

In reply to Anders Roxell

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 | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/dev-tools/kselftest.rst +5 -0
index e80850eefe13..3bf371a938d0 100644
@@ -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
 ============
 
Signature · 6 lines
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
maintainer Reviewed-by on v2 1/1
#3 lore raw
Quoted 15 lines · Anders Roxell

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 | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/dev-tools/kselftest.rst +0 -0
index e80850eefe13..3bf371a938d0 100644
@@ -151,6 +151,11 @@ Contributing new tests (details)
    TEST_FILES, TEST_GEN_FILES mean it is the file which is used by

Documentation/dev-tools/kselftest.rst Contributing new tests (details) · line 161

Quoted 10 lines
Documentation/dev-tools/kselftest.rst +5 -0
    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
 ============
 

Here is my reviewed by for this to go through documentation tree.

Reviewed-by Shuah Khan (Samsung OSG) <shuah at kernel.org>

thanks,
-- Shuah

--
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

maintainer Applied
#4 lore raw
In reply to Anders Roxell
Quoted 4 lines · On Thu, 19 Apr 2018 12:28:25 +0200 Anders Roxell <[email protected]>…

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>

Applied, thanks.

jon
--
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