nuttx-apps/testing/scanftest/Kconfig
chenrun1 ee3400e78a scanftest:need enable CONFIG_LIBC_SCANSET
Summary:
"",
        instead of
"   ",
        to the first argument.

Test #29 returned 0 instead of 1.
Test #29 assigned
"",
        instead of
"  q",
        to the first argument.

Test #30 returned 0 instead of 2.
Test #30 assigned
"",
        instead of
"  ",
        to the first argument.

Test #30 assigned
"",
        instead of
"Q",
        to the second argument.

Test #31 returned 0 instead of 2.
Test #31 assigned
"",
        instead of
"qwerty-",
        to the first argument.

Test #31 assigned
"",
        instead of
"QWERTY-",
        to the second argument.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-12-23 22:40:11 +08:00

40 lines
932 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config TESTING_SCANFTEST
tristate "sscanf() test"
depends on LIBC_SCANSET
default n
---help---
Enable sscanf() test
For all tests to be successful, you need to enable
CONFIG_LIBC_FLOATINGPOINT, CONFIG_LIBC_LONG_LONG and
CONFIG_LIBC_SCANSET in addition.
if TESTING_SCANFTEST
config TESTING_SCANFTEST_PROGNAME
string "Program name"
default "scanftest"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.
config TESTING_SCANFTEST_PRIORITY
int "Scanftest task priority"
default 100
config TESTING_SCANFTEST_STACKSIZE
int "Scanftest stack size"
default DEFAULT_TASK_STACKSIZE
config TESTING_SCANFTEST_FNAME
string "Scanftest file name"
default "/mnt/fs/test.txt"
---help---
Path to the file for test writes/reads.
endif