mirror of
https://github.com/micropython/micropython.git
synced 2026-05-01 21:30:14 +02:00
c895770d4a
This commit adds a new test to make sure ROMFS files are mounted and read correctly, to be run as part of the CI process. The changes also include the source binary files that have been used to create the pre-baked ROMFS partition image used in the test, along with a Makefile to allow recreating said file. The CI test ROMFS image is mounted only if no other ROMFS partition is mounted in slot 0. The specific test is executed only if there actually is a ROMFS partition mounted and if the partition is identified as the one used to run tests on. This allows for user images to be mounted and for a successful test run if that is the case. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
427 B
427 B
This directory contains assets for other tests to use:
- A .mpy built against the current .mpy version that can be used to test
freezing without a dependency on mpy-cross (
frozentest.pyandfrozentest.mpy) - A ROMFS image containing random binary files for testing mounting and reading
from the partition without having to generate a custom image
(
random_romfs.bin, theromfs_sourcedirectory, andMakefile)