summaryrefslogtreecommitdiff
path: root/Documentation/kselftest.txt
diff options
context:
space:
mode:
authorAleksander Alekseev <afiskon@devzen.ru>2016-08-18 12:36:53 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2016-09-20 08:58:27 -0600
commit3409f9ab71d7db96eed849f49a6c8116c62dc251 (patch)
tree298f9cc9f290f13d14d18b0298cff30817445886 /Documentation/kselftest.txt
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
kselftest: kselftest documentation improvement
Suggested patch solves two issues: 1) Currently documentation is unclear whether `make kselftest` should be run before or after kernel was installed and booted. `make help` gives a clear answer on that: "kselftest - Build and run kernel selftest (run as root). Build, install, and boot kernel before running kselftest on it." 2) Documentation states that `make kselftest` executes "unit" tests. Technically it's not a _unit_ test if it requires to install an application first. It's either integration or system test. To not to confuse a user I suggest not to use a word "unit". Signed-off-by: Aleksander Alekseev <afiskon@devzen.ru> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'Documentation/kselftest.txt')
-rw-r--r--Documentation/kselftest.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/kselftest.txt b/Documentation/kselftest.txt
index 979eacae243d..54bee77fa728 100644
--- a/Documentation/kselftest.txt
+++ b/Documentation/kselftest.txt
@@ -1,8 +1,9 @@
Linux Kernel Selftests
The kernel contains a set of "self tests" under the tools/testing/selftests/
-directory. These are intended to be small unit tests to exercise individual
-code paths in the kernel.
+directory. These are intended to be small tests to exercise individual code
+paths in the kernel. Tests are intended to be run after building, installing
+and booting a kernel.
On some systems, hot-plug tests could hang forever waiting for cpu and
memory to be ready to be offlined. A special hot-plug target is created