Jaakko Hannikainen | 9167a03 | 2016-08-22 14:51:46 +0300 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2016 Intel Corporation |
| 3 | # |
David B. Kinder | ac74d8b | 2017-01-18 17:01:01 -0800 | [diff] [blame] | 4 | # SPDX-License-Identifier: Apache-2.0 |
Jaakko Hannikainen | 9167a03 | 2016-08-22 14:51:46 +0300 | [diff] [blame] | 5 | # |
| 6 | |
| 7 | menu Testing |
| 8 | |
| 9 | source "tests/ztest/Kconfig" |
| 10 | |
Anas Nashif | 829598b | 2018-01-06 16:15:53 -0500 | [diff] [blame] | 11 | config TEST |
| 12 | bool "Mark project as a test" |
| 13 | default n |
Anas Nashif | 911be994 | 2018-01-09 10:46:07 -0500 | [diff] [blame] | 14 | select COVERAGE if NATIVE_APPLICATION |
Anas Nashif | 829598b | 2018-01-06 16:15:53 -0500 | [diff] [blame] | 15 | help |
| 16 | Mark a project or an application as a test. This will enable a few |
| 17 | test defaults. |
| 18 | |
Mazen NEIFER | 4713575 | 2017-01-31 23:05:18 +0100 | [diff] [blame] | 19 | config TEST_EXTRA_STACKSIZE |
Ramakrishna Pallala | 275d16d | 2018-01-30 21:09:12 +0530 | [diff] [blame] | 20 | int "Test function extra thread stack size" |
Mazen NEIFER | 4713575 | 2017-01-31 23:05:18 +0100 | [diff] [blame] | 21 | default 0 |
| 22 | default 768 if XTENSA |
Anas Nashif | a2eaae5 | 2018-01-07 11:54:38 -0500 | [diff] [blame] | 23 | help |
| 24 | Additional stack for tests on some platform where default is not |
| 25 | enough. |
Mazen NEIFER | 4713575 | 2017-01-31 23:05:18 +0100 | [diff] [blame] | 26 | |
Anas Nashif | 72fe097 | 2017-11-22 08:28:52 -0500 | [diff] [blame] | 27 | config COVERAGE |
| 28 | bool "Create coverage data" |
Anas Nashif | 8a67369 | 2018-01-03 12:22:40 -0500 | [diff] [blame] | 29 | depends on NATIVE_APPLICATION |
Anas Nashif | 72fe097 | 2017-11-22 08:28:52 -0500 | [diff] [blame] | 30 | 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 Baglody | a47f14a | 2018-03-19 14:17:55 +0530 | [diff] [blame] | 35 | |
| 36 | config 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 Hannikainen | 9167a03 | 2016-08-22 14:51:46 +0300 | [diff] [blame] | 45 | endmenu |