refactor[test]: add more tests with hevm venom harness#4493
Merged
charles-cooper merged 70 commits intovyperlang:masterfrom Mar 8, 2025
Merged
refactor[test]: add more tests with hevm venom harness#4493charles-cooper merged 70 commits intovyperlang:masterfrom
charles-cooper merged 70 commits intovyperlang:masterfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4493 +/- ##
=======================================
Coverage 92.04% 92.04%
=======================================
Files 120 120
Lines 17361 17361
Branches 2940 2940
=======================================
Hits 15980 15980
Misses 964 964
Partials 417 417 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tests/venom_utils.py
Outdated
| pass_objects: list[IRPass] | ||
| default_hevm: bool | ||
|
|
||
| def __init__(self, *passes, post: list[type] | None = None, default_hevm: bool = True): |
Member
There was a problem hiding this comment.
bit odd that pre passes are passed as varargs but post passes are passed as a list
Collaborator
Author
There was a problem hiding this comment.
I did this like that because in most cases there are only pre passes and post are added as something that is only occasionally added. But if you would think that it should be same then for sure I could switch it.
| jmp @join | ||
| join: | ||
| %3 = phi @then, %1, @else, %2 | ||
| stop |
Member
There was a problem hiding this comment.
maybe we should sink %3 here, otherwise hevm will trivially validate it
…r into chore/venom/test-update
…r into chore/venom/test-update
…r into chore/venom/test-update
…r into chore/venom/test-update
charles-cooper
approved these changes
Mar 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
Added hevm harness to more venom tests
How I did it
rewrote tests to venom text format if needed and used hevm harness
How to verify it
Commit message
Description for the changelog
Cute Animal Picture