-
CONFIG_TEST_USERSPACE
¶
Indicate that this test exercises user mode
Type: bool
Help¶
This option indicates that a test case puts threads in user mode, and that the build system should enable userspace if the platform supports it. It should be set on a per-test basis.
The userspace APIs are no-ops if userspace is not enabled, so it is OK to enable this even if the test will run on platforms which do not support userspace. The test should still run on those platforms, just with all threads in supervisor mode.
If a test requires that userspace be enabled in order to function, CONFIG_ARCH_HAS_USERSPACE should be filtered in its testcase.yaml.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At subsys/testsuite/Kconfig:60
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:38
Menu path: (top menu) → Testing
config TEST_USERSPACE bool prompt "Indicate that this test exercises user mode" help This option indicates that a test case puts threads in user mode, and that the build system should enable userspace if the platform supports it. It should be set on a per-test basis. The userspace APIs are no-ops if userspace is not enabled, so it is OK to enable this even if the test will run on platforms which do not support userspace. The test should still run on those platforms, just with all threads in supervisor mode. If a test requires that userspace be enabled in order to function, CONFIG_ARCH_HAS_USERSPACE should be filtered in its testcase.yaml.
(Definitions include propagated dependencies, including from if’s and menus.)