mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
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:
committed by
Damien George
parent
6ecdf1a240
commit
920da9c5e3
@@ -96,3 +96,8 @@ import frzmpy3
|
||||
from frzqstr import returns_NULL
|
||||
|
||||
print(returns_NULL())
|
||||
|
||||
# test for freeze_mpy
|
||||
import frozentest
|
||||
|
||||
print(frozentest.__file__)
|
||||
|
||||
@@ -199,3 +199,13 @@ X
|
||||
'\x1b'
|
||||
b'\x00\xff'
|
||||
NULL
|
||||
uPy
|
||||
a long string that is not interned
|
||||
a string that has unicode αβγ chars
|
||||
b'bytes 1234\x01'
|
||||
123456789
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
frozentest.py
|
||||
|
||||
Reference in New Issue
Block a user