oyama / pico-vfs

Thin virtual file system for Raspberry Pi Pico
Other
13 stars 4 forks source link

Unit test using PICO_PLATFORM=host and heap block devices #33

Closed oyama closed 5 months ago

oyama commented 5 months ago

Hardware-dependent tests should be performed on the actual device, and independent code should be tested on the host build. Heap blockdevice can be used for all upper layer tests.

oyama commented 5 months ago

A way to trick the host into making system calls such as open. pico-vfs relies heavily on Newlib to provide these. This is useful for testing heap block devices and the FatFs and littlefs filesystem abstraction layers. However, the current (relatively) thorough testing of real machines does not find it worthwhile to develop a test environment with these limitations.

oyama commented 5 months ago

I will work on new proprietary file systems and virtual block devices should the need arise to develop them. This issue close.