Lines Matching refs:tests

5 The kernel contains a set of "self tests" under the tools/testing/selftests/
6 directory. These are intended to be small tests to exercise individual code
10 Kselftest from mainline can be run on older stable kernels. Running tests
19 write new tests using the framework on Kselftest wiki:
23 On some systems, hot-plug tests could hang forever waiting for cpu and
25 to run the full range of hot-plug tests. In default mode, hot-plug tests run
34 Running the selftests (hotplug tests are run in limited mode)
37 To build the tests::
41 To run the tests::
45 To build and run the tests with a single command, use::
49 Note that some tests will require root privileges.
52 running tests. To locate output files in a separate directory two syntaxes
68 The above commands by default run the tests and print full pass/fail report.
82 single test to run, or a list of tests to run.
84 To run only tests targeted for a single subsystem::
88 You can specify multiple tests to build and run::
103 To run all tests but a single subsystem::
107 You can specify multiple tests to skip::
111 You can also specify a restricted list of tests to run together with a
122 To build the hotplug tests::
126 To run the hotplug tests::
130 Note that some tests will require root privileges.
152 is a script named `run_kselftest.sh` to run the tests.
155 note some tests will require root privileges::
160 To see the list of available tests, the `-l` option can be used::
164 The `-c` option can be used to run all the tests from a test collection, or
165 the `-t` option for specific single tests. Either can be used multiple times::
174 In some cases packaging is desired, such as when tests need to run on a
187 tests by using variables specified in `Running a subset of selftests`_
194 Contributing new tests
208 Contributing new tests (details)
225 TEST_CUSTOM_PROGS should be used by tests that require custom build
268 Kselftest tests the kernel from userspace. Sometimes things need
359 The kselftest_harness.h file contains useful helpers to build tests. The
363 The tests from tools/testing/selftests/seccomp/seccomp_bpf.c can be used as