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
11 write new tests using the framework on Kselftest wiki:
15 On some systems, hot-plug tests could hang forever waiting for cpu and
17 to run the full range of hot-plug tests. In default mode, hot-plug tests run
26 Running the selftests (hotplug tests are run in limited mode)
29 To build the tests::
33 To run the tests::
37 To build and run the tests with a single command, use::
41 Note that some tests will require root privileges.
44 running tests. To locate output files in a separate directory two syntaxes
60 The above commands by default run the tests and print full pass/fail report.
74 single test to run, or a list of tests to run.
76 To run only tests targeted for a single subsystem::
80 You can specify multiple tests to build and run::
95 To run all tests but a single subsystem::
99 You can specify multiple tests to skip::
103 You can also specify a restricted list of tests to run together with a
114 To build the hotplug tests::
118 To run the hotplug tests::
122 Note that some tests will require root privileges.
144 is a script named `run_kselftest.sh` to run the tests.
147 note some tests will require root privileges::
152 To see the list of available tests, the `-l` option can be used::
156 The `-c` option can be used to run all the tests from a test collection, or
157 the `-t` option for specific single tests. Either can be used multiple times::
166 In some cases packaging is desired, such as when tests need to run on a
179 tests by using variables specified in `Running a subset of selftests`_
186 Contributing new tests
200 Contributing new tests (details)
209 TEST_CUSTOM_PROGS should be used by tests that require custom build
235 Kselftest tests the kernel from userspace. Sometimes things need
317 The kselftest_harness.h file contains useful helpers to build tests. The
321 The tests from tools/testing/selftests/seccomp/seccomp_bpf.c can be used as