-
Notifications
You must be signed in to change notification settings - Fork 112
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
Set exit code to non-zero when verification fails #695
Comments
The logic appears to be in place to do this, but doesn't seem to work. For example:
|
It looks like Boogie expects to return exit code 1 only if the prover dies or the input programmer uses a feature unsupported by monomorphization without using /monomorphize flag. So, there appears to be an explicit decision to return exit code 0 for typing errors, verification failure errors, etc. I don't know what the standard expectation for exit codes is. |
There was some (eventually abandoned) discussion on this exact topic a couple of years back in #13. Seems like there was general agreement with some unresolved details. |
Currently, the only way to determine that verification has failed when running Boogie from the command line is the presence of error messages in the textual output. It should also return a non-zero exit code in that situation.
The text was updated successfully, but these errors were encountered: