Skip to contentSkip to conversation

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

PATCH In review Anders Roxell 3 participants 6 messages Jun 29, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

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(+)
Documentation/dev-tools/kselftest.rst +0 -0
index 3bf371a938d0..4c546a35bd58 100644

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

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

get rid of new

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

Quoted 1 line
Documentation/dev-tools/kselftest.rst +1 -0
+   then config file in the same directory where the test is added.

"the config" instead of "then config"

Rephrasing this might be better:

"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

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

Quoted 5 lines
Documentation/dev-tools/kselftest.rst +1 -0
+
 Test Harness
 ============
 

--
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
Quoted 24 lines · Shuah Khan
Quoted 13 lines · Anders Roxell

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(+)
Documentation/dev-tools/kselftest.rst +0 -0
index 3bf371a938d0..4c546a35bd58 100644

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

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

get rid of new

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

Quoted 1 line
Documentation/dev-tools/kselftest.rst +1 -0
+   then config file in the same directory where the test is added.
Quoted 8 lines

"the config" instead of "then config"

Rephrasing this might be better:

"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

I like it. sending v2 shortly.

Thank you.

Cheers,
Anders

Quoted 7 lines

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

Quoted 6 lines
Documentation/dev-tools/kselftest.rst +1 -0
+
 Test Harness
 ============
 

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

#3 lore raw

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

In reply to Anders Roxell

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

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 | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/dev-tools/kselftest.rst +0 -0
index 3bf371a938d0..6f653acea248 100644
@@ -156,6 +156,11 @@ Contributing new tests (details)
    installed by the distro on the system should be the primary focus to be able

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

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

Thanks. Looks good to me.

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
#5 lore raw
In reply to Anders Roxell
Quoted 4 lines · On Fri, 29 Jun 2018 14:52:01 +0200 Anders Roxell <anders.roxell at linaro.org>…

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>

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