2015-10-10 22:18:10 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Generic file system test"
|
2015-10-10 22:18:10 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable the generic file system test
|
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
if TESTING_FSTEST
|
2015-10-10 22:18:10 +02:00
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST_PROGNAME
|
2018-09-29 19:52:39 +02:00
|
|
|
string "Program name"
|
|
|
|
default "fstest"
|
|
|
|
---help---
|
2019-08-23 19:59:28 +02:00
|
|
|
This is the name of the program that will be used when the NSH ELF
|
2018-09-29 19:52:39 +02:00
|
|
|
program is installed.
|
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST_PRIORITY
|
2018-09-29 19:52:39 +02:00
|
|
|
int "FS test task priority"
|
|
|
|
default 100
|
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST_STACKSIZE
|
2018-09-29 19:52:39 +02:00
|
|
|
int "FS test stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2018-09-29 19:52:39 +02:00
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST_MAXNAME
|
2015-10-10 22:18:10 +02:00
|
|
|
int "Max name size"
|
|
|
|
default 32
|
|
|
|
range 1 255
|
|
|
|
---help---
|
|
|
|
Determines the maximum size of names used in the filesystem
|
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST_MAXFILE
|
2015-10-10 22:18:10 +02:00
|
|
|
int "Max file size"
|
|
|
|
default 8192
|
|
|
|
---help---
|
|
|
|
Determines the maximum size of a file
|
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST_MAXIO
|
2015-10-10 22:18:10 +02:00
|
|
|
int "Max I/O"
|
|
|
|
default 347
|
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST_MAXOPEN
|
2015-10-10 22:18:10 +02:00
|
|
|
int "Max open files"
|
|
|
|
default 512
|
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST_MOUNTPT
|
2015-10-10 22:18:10 +02:00
|
|
|
string "FSTEST mountpoint"
|
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST_NLOOPS
|
2015-10-10 22:18:10 +02:00
|
|
|
int "Number of test loops"
|
|
|
|
default 100
|
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST_SPIFFS
|
2018-09-27 20:28:33 +02:00
|
|
|
bool "Enable SPIFFS testing"
|
2018-09-28 01:01:10 +02:00
|
|
|
default y
|
2018-09-29 04:07:40 +02:00
|
|
|
depends on FS_SPIFFS && EXPERIMENTAL
|
2018-09-27 20:28:33 +02:00
|
|
|
---help---
|
|
|
|
SPIFFS garbage collection and integrity checking will be performed
|
2018-09-29 19:52:39 +02:00
|
|
|
after each pass through the test.
|
2018-09-27 20:28:33 +02:00
|
|
|
|
2018-09-28 19:27:01 +02:00
|
|
|
If this option is not selected then the SPIFFS FLASH will be be
|
|
|
|
reclaimed on-demand when there is no longer any available FLASH.
|
2018-09-27 20:28:33 +02:00
|
|
|
|
2018-09-29 04:07:40 +02:00
|
|
|
Marked EXPERIMENTAL because it interferes with test performance.
|
|
|
|
|
2019-01-24 21:44:54 +01:00
|
|
|
config TESTING_FSTEST_VERBOSE
|
2015-10-10 22:18:10 +02:00
|
|
|
bool "Verbose output"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif
|