Skip to content

_fail tests should fail if compilation fails #338

@vecchiot-aws

Description

@vecchiot-aws

The test at src/test/cbmc/DynTrait/main_fail.rs uses _VERIFIER_expect_fail instead of __VERIFIER_expect_fail, causing it to have a rust compile error.

I expect it went by unnoticed because we (accidentally?) left in the _fail suffix, when really it shouldn't fail, and we don't distinguish between compilation failure and verification failure.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions