Skip to content

Some regression tests print different counterexamples depending on solver version #1280

@brianhuffman

Description

@brianhuffman

The expected output for regression tests issue066.icry and issue093.icry includes witnesses for :sat and/or counterexample values. With z3-4.8.12, the values printed do not match the expected ones in the .stdout files.

We should modify the regression tests so that we never rely on arbitrary choices about counterexamples made by external solvers: Any :sat query should be designed to have only one possible satisfying assignment, so that the test will be deterministic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    test-frameworkFor issues related to Cryptol's test framework.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions