8000 tests/extmod/vfs_fat_finaliser.py: Fix for unix qemu-arm. by jimmo · Pull Request #7672 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content

tests/extmod/vfs_fat_finaliser.py: Fix for unix qemu-arm. #7672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

jimmo
Copy link
Member
@jimmo jimmo commented Aug 16, 2021

jimmo added 2 commits August 16, 2021 22:45
This compiler is unable to optimise out the giant strcmp match generated
by MP_MATCH_COMPRESSED.

See github.com/micropython/pull/7659#issuecomment-899479793

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Prevents the finaliser from being missed if there's a dangling reference
on the stack to one of the blocks for the files (that this test checks
that they get finalised).

See github.com/micropython/pull/7659#issuecomment-899479793

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
@dpgeorge dpgeorge added port-unix tests Relates to tests/ directory in source labels Aug 17, 2021
@dpgeorge
Copy link
Member

Thank you very much! Merged in 0c2cadf and 91a99fc

@dpgeorge dpgeorge closed this Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port-unix tests Relates to tests/ directory in source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0