-
Notifications
You must be signed in to change notification settings - Fork 266
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
Isolate paths #5832
Isolate paths #5832
Conversation
…ens passed to Boogie
e55e0ea
to
2a9e9e1
Compare
Source/Dafny.sln
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert before approval
.gitmodules
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert before approval
CHECK: Verified part #7, 8/10 of f, on line 5, verified successfully \(time: .*, resource count: .*\) | ||
CHECK: Verified part #8, 9/10 of f, on line 5, verified successfully \(time: .*, resource count: .*\) | ||
CHECK: Verified part #9, 10/10 of f, on line 5, verified successfully \(time: .*, resource count: .*\) | ||
CHECK: Verified 1/10 of f: assertion at line 5, verified successfully \(time: .*, resource count: .*\) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reformatting is definitely an improvement. In the future it would be nice to be more specific about what part of the assertion is verified in this batch though.
@@ -0,0 +1,70 @@ | |||
// RUN: ! %verify --progress VerificationJobs --cores=1 %s &> %t | |||
// RUN: %OutputCheck --file-to-check "%t" "%s" | |||
// CHECK:Verified 1/2 of Assertion: assertion at line 19, could not prove all assertions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// CHECK:Verified 1/2 of Assertion: assertion at line 19, could not prove all assertions | |
// CHECK:Verified 1/2 of Assertion: assertion at line 19 - could not prove all assertions |
Or something like that. The comma feels like too weak a separator.
@@ -0,0 +1,49 @@ | |||
// RUN: ! %verify --progress VerificationJobs --cores=1 %s &> %t | |||
// RUN: %OutputCheck --file-to-check "%t" "%s" | |||
// CHECK:Verified 1/4 of Assertion: assertion at line 28, through \[15,23\], could not prove all assertions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See boogie-org/boogie#970 (comment), I think we should label the numbers as line numbers in a path more clearly somehow.
Co-authored-by: Robin Salkeld <salkeldr@amazon.com>
Co-authored-by: Robin Salkeld <salkeldr@amazon.com>
Co-authored-by: Robin Salkeld <salkeldr@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the improvements to the assertion batch labelling
Changes
{:isolate "paths"}
onassert
,return
andcontinue
statements.Out of scope
{:isolate "paths"}
for implicit assertionsTesting
isolatePaths.dfy
By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.