summaryrefstree
path: root/kernel/test/Kconfig
blob: 2dcb7284c81ddf2a068021e4beb59fcb35958704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# KUnit base configuration
#

menu "KUnit support"

config KUNIT
	bool "Enable support for unit tests (KUnit)"
	select HAS_IOMEM
	help
	  Enables support for kernel unit tests (KUnit), a lightweight unit
	  testing and mocking framework for the Linux kernel. These tests are
	  able to be run locally on a developer's workstation without a VM or
	  special hardware. For more information, please see Documentation/test/

if KUNIT

config KUNIT_TEST
	bool "KUnit test for KUnit"
	depends on KUNIT
	default n
	help
	  Enables KUnit test to test KUnit.

config KUNIT_DEATH_TEST
	bool "(Expert) KUnit death test for KUnit"
	depends on KUNIT
	default n
	help
	  Enables KUnit test to test KUnit death test feature. This test is not
	  hermetic and can cause other tests to misbehave.

config EXAMPLE_TEST
	bool "Example test for KUnit"
	depends on KUNIT
	default n
	help
	  Enables example KUnit test to demo features of KUnit.

config KUNIT_MANAGER
	tristate "Manager for KUnit"
	depends on KUNIT
	depends on !UML
	default m
	help
	  Enables KUnit Manager.

endif # KUNIT

endmenu