Lines Matching refs:tests
16 The bulk of kernel tests are written using either the kselftest or KUnit
17 frameworks. These both provide infrastructure to help make running tests and
18 groups of tests easier, as well as providing helpers to aid in writing new
19 tests.
32 KUnit tests therefore are best written against small, self-contained parts
40 This also makes KUnit tests very fast to build and run, allowing them to be
48 largely implemented in userspace, and tests are normal userspace scripts or
51 This makes it easier to write more complicated tests, or tests which need to
56 work around this, some tests include a companion kernel module which exposes
60 kselftest is therefore suited well to tests of whole features, as these will
64 For example, all new system calls should be accompanied by kselftest tests.
111 kselftest or KUnit tests. They can be combined with KUnit or kselftest by
112 running tests on a kernel with these tools enabled: you can then be sure
116 automatically fail tests if an issue is detected.