2022-12-21 06:25:45 +01:00
|
|
|
#
|
|
|
|
# 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"
|
2023-05-30 04:58:14 +02:00
|
|
|
depends on LIBC_REGEX
|
2022-12-21 06:25:45 +01:00
|
|
|
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"
|
2023-05-18 14:58:53 +02:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2022-12-21 06:25:45 +01:00
|
|
|
|
2023-06-13 10:33:09 +02:00
|
|
|
config TESTING_CMOCKA_LEAKDETECT
|
|
|
|
bool "Memory leaks can be checked using cmocka, please use in local environment"
|
|
|
|
default n
|
|
|
|
|
2022-12-21 06:25:45 +01:00
|
|
|
endif
|