Skip to content

Introduce a mechanism to refine expected behavior of regression tests by solver. #7292

@jimgrundy

Description

@jimgrundy

This PR introduced some new tests for unions in structs: #7278
Those tests pass with some solver configurations (built-in) but not others (Z3).
We have a mechanism to indicate which tests are expected to pass and which to fail, but we don't have a mechanism to indicate expected pass/fail status by solver.

The lack of such a mechanism is a hinderance for SMT back-end development because it discourages tests that don't pass in all solvers. Or, if we check in such tests then they will fail in some configurations and every person with a PR from here on out is doomed to investigate what this is and why it isn't related to their change. Or, worse, they stop paying attention to fails that don't block check in.

A mechanism needs to be added to handle this elegantly. If that can't be done soon then this change should be backed out until it is.

Metadata

Metadata

Assignees

Labels

awsBugs or features of importance to AWS CBMC usersaws-highbug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions