zephyr/tests/Kconfig
Adithya Baglody 43775402a9 tests: Kconfig: Added a new Kconfig for qemu_x86
The qemu doesn't have any flash drivers present in the
drivers/flash folder.
When building the tests/subsys/fs/nffs_fs_api the qemu picks
up a local file to emulate the drivers. This setup was causing the
failures in mapping required dependencies. This patch creates a
new kconfig which can be used to test out the flash drivers.

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
2018-05-15 17:48:18 +03:00

56 lines
1.3 KiB
Plaintext

#
# Copyright (c) 2016 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
menu Testing
source "tests/ztest/Kconfig"
config TEST
bool "Mark project as a test"
default n
select COVERAGE if NATIVE_APPLICATION
help
Mark a project or an application as a test. This will enable a few
test defaults.
config TEST_EXTRA_STACKSIZE
int "Test function extra thread stack size"
default 0
default 768 if XTENSA
help
Additional stack for tests on some platform where default is not
enough.
config COVERAGE
bool "Create coverage data"
depends on NATIVE_APPLICATION
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.
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.
config TEST_FLASH_DRIVERS
bool "Test flash drivers"
depends on BOARD_QEMU_X86
select FLASH_HAS_DRIVER_ENABLED
select FLASH_HAS_PAGE_LAYOUT
default n
help
This option will help test the flash drivers. This should be enabled
only when using qemu_x86.
endmenu