Skip to content

Add proof annotation for smack harnesses - #1939

Merged
celinval merged 2 commits into
model-checking:mainfrom
celinval:issue-xxxx-smack-suite
Nov 28, 2022
Merged

celinval merged 2 commits into
model-checking:mainfrom
celinval:issue-xxxx-smack-suite

Conversation

@celinval

Copy link
Copy Markdown
Contributor

Description of changes:

A bunch of the harnesses from the smack testsuite were missing kani::proof annotation. They have the kani-verify-fail tag on them, and because of #1910, they would fail but with a different error than expected.

Add #[kani::proof] to them.

Resolved issues:

N/A

Related RFC:

Optional #ISSUE-NUMBER.

Call-outs:

Testing:

  • How is this change tested?

  • Is this a refactor change?

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

A bunch of the harnesses from the smack testsuite were missing
`kani::proof` annotation. They have the kani-verify-fail tag on them,
and because of model-checking#1910, they would fail but with a different error than
expected.

Fix that.
@celinval
celinval requested a review from a team as a code owner November 25, 2022 23:03
@celinval
celinval merged commit 79e7795 into model-checking:main Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants