-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
gh-127146: Emscripten: Skip segfaults in test suite #127151
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
gh-127146: Emscripten: Skip segfaults in test suite #127151
Conversation
a281d38
to
c11b73b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry if this sounds overly pedantic, but isn't this "skipping tests that segfault" rather than "fixing tests that segfault"? It's a completely reasonably path to skip these tests and then come back later to fix them (if they matter), but I would suggest changing the PR title / commit message.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
As a mathematician I have no right to call anyone pedantic under practically any circumstances. |
After this, Emscripten makes it all the way through the test suite when I run it locally.
c11b73b
to
c6425ea
Compare
Seems like I can remove a lot of these xfails if I set |
Nevermind that is not true. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The set of changes all looks fine to me.
However, if this is going to be a common mode of failure for tests (which this PR seems to indicate it will be), I'd rather see it pulled into a utility decorator, analogous to requires_subprocess
(e.g., requires_full_stack
?) so that the skip message is consistent.
Okay @freakboy3742 I made a common method for the stack-overflow skips. I also updated the description according to @mdboom's complaint. I have made the requested changes; please review again |
Thanks for making the requested changes! @freakboy3742, @mdboom: please review the changes made to this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One possible cleanup that I should have found on my first pass. There's also a bunch of CI failures that I'm fairly sure are due to one misapplied test decorator.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Okay, I have made the requested changes; please review again |
Thanks for making the requested changes! @mdboom, @freakboy3742: please review the changes made to this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks for those fixes!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test_ast
changes looks good to me.
If @mdboom doesn't come back to approve this, maybe you can merge it @freakboy3742? I think I addressed his comment... |
After this, Emscripten makes it all the way through the test suite when I run it locally.