2016-08-22 19:51:46 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Intel Corporation
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-08-22 19:51:46 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
menu Testing
|
|
|
|
|
|
|
|
source "tests/ztest/Kconfig"
|
|
|
|
|
2018-01-07 05:15:53 +08:00
|
|
|
config TEST
|
|
|
|
bool "Mark project as a test"
|
|
|
|
default n
|
2018-01-09 23:46:07 +08:00
|
|
|
select COVERAGE if NATIVE_APPLICATION
|
2018-01-07 05:15:53 +08:00
|
|
|
help
|
|
|
|
Mark a project or an application as a test. This will enable a few
|
|
|
|
test defaults.
|
|
|
|
|
2017-02-01 06:05:18 +08:00
|
|
|
config TEST_EXTRA_STACKSIZE
|
2018-01-30 23:39:12 +08:00
|
|
|
int "Test function extra thread stack size"
|
2017-02-01 06:05:18 +08:00
|
|
|
default 0
|
|
|
|
default 768 if XTENSA
|
2018-01-08 00:54:38 +08:00
|
|
|
help
|
|
|
|
Additional stack for tests on some platform where default is not
|
|
|
|
enough.
|
2017-02-01 06:05:18 +08:00
|
|
|
|
2017-11-22 21:28:52 +08:00
|
|
|
config COVERAGE
|
|
|
|
bool "Create coverage data"
|
2018-01-04 01:22:40 +08:00
|
|
|
depends on NATIVE_APPLICATION
|
2017-11-22 21:28:52 +08:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option will build your application with the -coverage option
|
|
|
|
which will generate data that can be used to create coverage reports.
|
|
|
|
Currently this is fully supported only on the native POSIX port.
|
2018-03-19 16:47:55 +08:00
|
|
|
|
|
|
|
config TEST_USERSPACE
|
|
|
|
bool "Enable userspace if available"
|
|
|
|
depends on ARCH_HAS_USERSPACE
|
|
|
|
select USERSPACE
|
|
|
|
select APPLICATION_MEMORY
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
This option will help test the userspace mode. This can be enabled
|
|
|
|
only when CONFIG_HAS_USERSPACE is set.
|
2016-08-22 19:51:46 +08:00
|
|
|
endmenu
|