Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. if RT_USING_DFS
  2. menu "File System Unit Testcase"
  3. config RT_UTEST_TC_USING_DFS_API
  4. bool "DFS API test"
  5. default n
  6. help
  7. Enable DFS native API unit tests including file operations like open,
  8. read, write, close, stat, unlink and rename
  9. if RT_UTEST_TC_USING_DFS_API
  10. config RT_UTEST_TC_USING_POSIX_API
  11. bool "POSIX API test"
  12. default n
  13. depends on RT_USING_POSIX_FS
  14. help
  15. Enable POSIX filesystem API unit tests including file operations,
  16. directory operations, and file permission tests
  17. config RT_UTEST_DFS_MNT_PATH
  18. string "Mount path for DFS test"
  19. default ""
  20. help
  21. Configure the mount point path where the test filesystem will be mounted.
  22. All test files and directories will be created under this path
  23. config RT_UTEST_DFS_FS_TYPE
  24. string "Filesystem type for test"
  25. default "elm"
  26. help
  27. Configure the filesystem type for unit test (e.g., elm, fat).
  28. This will be used for dfs_mkfs() and dfs_mount() operations
  29. config RT_UTEST_DFS_BLOCK_DEV
  30. string "Block device name for test"
  31. default "sd0"
  32. help
  33. Configure the block device name for unit test (e.g., sd0, sd1).
  34. This device will be formatted and mounted during testing
  35. endif
  36. endmenu
  37. endif