unix/variants/coverage: Add test for manifest freeze_mpy().

This uses the frozentest.mpy that is also used by ports/minimal.

Also fixes two bugs that these new tests picked up:
 - File extension matching in manifestfile.py.
 - Handling of freeze_mpy results in makemanifest.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
Jim Mussared
2022-09-19 12:05:39 +10:00
committed by Damien George
parent 6ecdf1a240
commit 920da9c5e3
5 changed files with 32 additions and 7 deletions

View File

@@ -96,3 +96,8 @@ import frzmpy3
from frzqstr import returns_NULL
print(returns_NULL())
# test for freeze_mpy
import frozentest
print(frozentest.__file__)