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