]> Git Repo - linux.git/blob - lib/kunit/Kconfig
ARM: 8969/1: decompressor: simplify libfdt builds
[linux.git] / lib / kunit / Kconfig
1 #
2 # KUnit base configuration
3 #
4
5 menuconfig KUNIT
6         tristate "KUnit - Enable support for unit tests"
7         help
8           Enables support for kernel unit tests (KUnit), a lightweight unit
9           testing and mocking framework for the Linux kernel. These tests are
10           able to be run locally on a developer's workstation without a VM or
11           special hardware when using UML. Can also be used on most other
12           architectures. For more information, please see
13           Documentation/dev-tools/kunit/.
14
15 if KUNIT
16
17 config KUNIT_DEBUGFS
18         bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation"
19         help
20           Enable debugfs representation for kunit.  Currently this consists
21           of /sys/kernel/debug/kunit/<test_suite>/results files for each
22           test suite, which allow users to see results of the last test suite
23           run that occurred.
24
25 config KUNIT_TEST
26         tristate "KUnit test for KUnit"
27         help
28           Enables the unit tests for the KUnit test framework. These tests test
29           the KUnit test framework itself; the tests are both written using
30           KUnit and test KUnit. This option should only be enabled for testing
31           purposes by developers interested in testing that KUnit works as
32           expected.
33
34 config KUNIT_EXAMPLE_TEST
35         tristate "Example test for KUnit"
36         help
37           Enables an example unit test that illustrates some of the basic
38           features of KUnit. This test only exists to help new users understand
39           what KUnit is and how it is used. Please refer to the example test
40           itself, lib/kunit/example-test.c, for more information. This option
41           is intended for curious hackers who would like to understand how to
42           use KUnit for kernel development.
43
44 endif # KUNIT
This page took 0.028852 seconds and 4 git commands to generate.