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
321 When a user runs tests, attributes will be present in the raw kernel output (in
323 for all passing tests but the raw kernel output can be accessed using the
344 Additionally, users can output a full attribute report of tests with their
358 Users can filter tests using the ``--filter`` command line flag when running
359 tests. As an example:
373 This example will run all tests with speeds faster than slow. Note that the
388 Filtered tests will not run or show up in the test output. You can use the
389 ``--filter_action=skip`` flag to skip filtered tests instead. These tests will be
417 "slow", or "very_slow". The assumed default speed for tests is "normal". This