Lines Matching refs:tests
25 Running a subset of tests
28 ``kunit.py run`` accepts an optional glob argument to filter tests. Currently
31 Say that we wanted to run the sysctl tests, we could do so via:
38 We're paying the cost of building more tests than we need this way, but it's
42 However, if we wanted to define a set of tests in a less ad hoc way, the next
45 Defining a set of tests
49 ``--kunitconfig`` flag. So if you have a set of tests that you want to run on a
53 E.g. kunit has one for its tests:
75 files to make it possible to have a top-level config run tests from all
80 automagically, but tests could theoretically depend on incompatible
136 Running tests manually
139 Running tests without using ``kunit.py run`` is also an important use case.
143 As running the tests under UML is fairly straightforward (configure and compile
148 Running built-in tests
151 When setting tests to ``=y``, the tests will run as part of boot and print
152 results to dmesg in TAP format. So you just need to add your tests to your
174 Running tests as modules
177 Depending on the tests, you can build them as loadable modules.
200 work and thus some tests might break. Ideally tests would specify they
220 Regardless of how you're running your tests, you can enable
250 your tests as modules. That way you can isolate the coverage from tests from