summaryrefslogtreecommitdiff
path: root/tools/makemanifest.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-09-19 12:05:39 +1000
committerDamien George <damien@micropython.org>2022-09-19 23:51:10 +1000
commit920da9c5e30da58d5f77b2c5e28c74e3670e6a3b (patch)
tree6a60c130a453e957d737a652c8d0c974b2fe69c9 /tools/makemanifest.py
parent6ecdf1a240e43bd60c824c7efd575c0a82d02d7e (diff)
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>
Diffstat (limited to 'tools/makemanifest.py')
-rw-r--r--tools/makemanifest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/makemanifest.py b/tools/makemanifest.py
index 9dd8815aa..b2e4f7d84 100644
--- a/tools/makemanifest.py
+++ b/tools/makemanifest.py
@@ -210,9 +210,9 @@ def main():
ts_outfile = get_timestamp(outfile)
mpy_files.append(outfile)
else:
- assert kind == manifestfile.KIND_FREEZE_MPY
- mpy_files.append(full_path)
- ts_outfile = timestamp
+ assert result.kind == manifestfile.KIND_FREEZE_MPY
+ mpy_files.append(result.full_path)
+ ts_outfile = result.timestamp
ts_newest = max(ts_newest, ts_outfile)
# Check if output file needs generating