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

SMT2 back-end: report error when invoking solver fails #8378

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Jul 12, 2024

  1. SMT2 back-end: report error when invoking solver fails

    Our previous attempt at reporting errors was dead code for `run` never
    returns a negative value. When the executable isn't found the return
    code was 1, which is also a legitimate return code when `z3` runs
    successfully. Thus, use emptiness of `stderr` output as the success
    criterion, and propagate the messages produced by `run` on stderr to the
    error-logging output.
    
    Fixes: diffblue#8362
    tautschnig committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    7fd93be View commit details
    Browse the repository at this point in the history