blob: 433d5719c2f523171f21e7f69a168d5f3bc2be1e [file] [log] [blame]
Jaakko Hannikainen9167a032016-08-22 14:51:46 +03001#
2# Copyright (c) 2016 Intel Corporation
3#
David B. Kinderac74d8b2017-01-18 17:01:01 -08004# SPDX-License-Identifier: Apache-2.0
Jaakko Hannikainen9167a032016-08-22 14:51:46 +03005#
6
7menu Testing
8
9source "tests/ztest/Kconfig"
10
Anas Nashif829598b2018-01-06 16:15:53 -050011config TEST
12 bool "Mark project as a test"
13 default n
Anas Nashif911be9942018-01-09 10:46:07 -050014 select COVERAGE if NATIVE_APPLICATION
Anas Nashif829598b2018-01-06 16:15:53 -050015 help
16 Mark a project or an application as a test. This will enable a few
17 test defaults.
18
Mazen NEIFER47135752017-01-31 23:05:18 +010019config TEST_EXTRA_STACKSIZE
Ramakrishna Pallala275d16d2018-01-30 21:09:12 +053020 int "Test function extra thread stack size"
Mazen NEIFER47135752017-01-31 23:05:18 +010021 default 0
22 default 768 if XTENSA
Anas Nashifa2eaae52018-01-07 11:54:38 -050023 help
24 Additional stack for tests on some platform where default is not
25 enough.
Mazen NEIFER47135752017-01-31 23:05:18 +010026
Anas Nashif72fe0972017-11-22 08:28:52 -050027config COVERAGE
28 bool "Create coverage data"
Anas Nashif8a673692018-01-03 12:22:40 -050029 depends on NATIVE_APPLICATION
Anas Nashif72fe0972017-11-22 08:28:52 -050030 default n
31 help
32 This option will build your application with the -coverage option
33 which will generate data that can be used to create coverage reports.
34 Currently this is fully supported only on the native POSIX port.
Adithya Baglodya47f14a2018-03-19 14:17:55 +053035
36config TEST_USERSPACE
37 bool "Enable userspace if available"
38 depends on ARCH_HAS_USERSPACE
39 select USERSPACE
40 select APPLICATION_MEMORY
41 default n
42 help
43 This option will help test the userspace mode. This can be enabled
44 only when CONFIG_HAS_USERSPACE is set.
Jaakko Hannikainen9167a032016-08-22 14:51:46 +030045endmenu