Files
micropython/tests/assets/README.md
T
Alessandro Gatti c895770d4a tests/ports/qemu: Add ROMFS tests to CI.
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>
2026-04-15 16:04:26 +10:00

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.py and frozentest.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, the romfs_source directory, and Makefile)