4b521051d3
The "regex" library will be used in cmocka test, so add the dependency relationship for this config. Signed-off-by: yangjiao <yangjiao@xiaomi.com>
35 lines
776 B
Plaintext
35 lines
776 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config TESTING_CMOCKA
|
|
tristate "Enable libcmocka"
|
|
depends on LIBC_REGEX
|
|
default n
|
|
---help---
|
|
Enable libcmocka and run all testcases
|
|
|
|
if TESTING_CMOCKA
|
|
|
|
config TESTING_CMOCKA_PROGNAME
|
|
string "Program name"
|
|
default "cmocka"
|
|
---help---
|
|
This is the name of the program that will be used when the NSH ELF
|
|
program is installed.
|
|
|
|
config TESTING_CMOCKA_PRIORITY
|
|
int "cmocka test task priority"
|
|
default 100
|
|
|
|
config TESTING_CMOCKA_STACKSIZE
|
|
int "cmocka test stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
config TESTING_CMOCKA_LEAKDETECT
|
|
bool "Memory leaks can be checked using cmocka, please use in local environment"
|
|
default n
|
|
|
|
endif
|