Skip to content
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

Catch assertion failures in stdlib coverage #16

Merged
merged 4 commits into from
Dec 9, 2024

Conversation

keidax
Copy link
Collaborator

@keidax keidax commented Dec 9, 2024

If the stdlib coverage test triggers an assertion failure, segfault, or other unusual exit code, the whole test run is aborted.

Also, fix an assertion failure I found.

@nobodywasishere
Copy link
Member

Would you be able to update the test ci so that it runs tree-sitter init-config?

@keidax
Copy link
Collaborator Author

keidax commented Dec 9, 2024

Would you be able to update the test ci so that it runs tree-sitter init-config?

Are you asking in relation to this PR, or just in general?

@nobodywasishere
Copy link
Member

Are you asking in relation to this PR, or just in general?

This PR - as we're now passing stderr from the stdlib test subprocesses, it's outputting this warning a lot

@nobodywasishere nobodywasishere merged commit 16f9a25 into main Dec 9, 2024
2 checks passed
@nobodywasishere nobodywasishere deleted the test-coverage-improvements branch December 9, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants