-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add a warning on non-test analysis w/o foundry_success
checking
#432
Conversation
@lisandrasilva @ehildenb I just ran it locally with
Can we maybe bring it closer to the start of the execution or, instead, print it next to the proof execution result ( |
|
Thanks @lisandrasilva! I think I'd prefer it next to the result to make sure people interpret |
Right now, the warning is as follows:
It's still not ideal since if there is more than one proof running it gets again buried in the execution log. I'll print it together with the proof status so it's more visible to the user. |
Right now, it is printed as follows:
Please let me know what you think. |
Thank you @lisandrasilva! It looks great. A few minor nits from my side:
Or maybe we can just make
I don't have a strong opinion about any of these, please let me know what you'd prefer! |
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.
Approved with some stylistic comments (please see #432 (comment)). It also requires updating expected output to include the new info message for failing tests.
I agree!
I would prefer before |
At the moment, the output is as follows:
|
Temporarily removed automerge to let #355 go through first. |
* Added warning non a non-test analysis * Set Version: 0.1.195 * Addressed PR comments * changed from info to warning * Set Version: 0.1.200 * Moved warning closer to the end of execution * Print info after proof.status * Set Version: 0.1.201 * Moved warning before proof status * Set Version: 0.1.204 * Set Version: 0.1.205 * Set Version: 0.1.208 --------- Co-authored-by: devops <[email protected]> Co-authored-by: rv-jenkins <[email protected]> Co-authored-by: Petar Maksimović <[email protected]>
If the test doesn't start with
test
,check
, orprove
, it is being symbolically explored but is not reported as failing even if the test reverts. This might confuse the user, so we emit a warning informing the user that the test is not being checked for failures.Closes #386.