forked from dafny-lang/dafny
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests that use --progress, so they are stable (dafny-lang#5300)
### Description Update tests that use --progress, so they no longer depend on an unstable order ### How has this been tested? Tests were changed <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
- Loading branch information
1 parent
56a1652
commit beab582
Showing
6 changed files
with
30 additions
and
22 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
Source/IntegrationTests/TestFiles/LitTests/LitTest/hofs/ArrowTypeOptimizations.dfy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 4 additions & 18 deletions
22
Source/IntegrationTests/TestFiles/LitTests/LitTest/hofs/ArrowTypeOptimizations.dfy.expect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 1,5 @@ | ||
Verified 0/7 symbols. Waiting for CheckReads to verify. | ||
Verification part 1/1 of CheckReads, on line 8, could not prove all assertions, redacted and consuming 1.1E 004 resources | ||
ArrowTypeOptimizations.dfy(11,2): Error: function precondition could not be proved | ||
ArrowTypeOptimizations.dfy(11,2): Error: insufficient reads clause to invoke function | ||
Verified 1/7 symbols. Waiting for CheckPre to verify. | ||
Verification part 1/1 of CheckPre, on line 14, could not prove all assertions, redacted and consuming 1.0E 004 resources | ||
ArrowTypeOptimizations.dfy(17,2): Error: function precondition could not be proved | ||
Verified 2/7 symbols. Waiting for CheckReadsTot to verify. | ||
Verification part 1/1 of CheckReadsTot, on line 20, verified successfully, redacted and consuming 1.0E 004 resources | ||
Verified 3/7 symbols. Waiting for CheckReadsParens to verify. | ||
Verification part 1/1 of CheckReadsParens, on line 26, verified successfully, redacted and consuming 1.0E 004 resources | ||
Verified 4/7 symbols. Waiting for CheckReadsLambdaGeneral to verify. | ||
Verification part 1/1 of CheckReadsLambdaGeneral, on line 32, verified successfully, redacted and consuming 1.9E 004 resources | ||
Verified 5/7 symbols. Waiting for CheckReadsLambdaPartial to verify. | ||
Verification part 1/1 of CheckReadsLambdaPartial, on line 38, verified successfully, redacted and consuming 1.7E 004 resources | ||
Verified 6/7 symbols. Waiting for CheckReadsLambdaTotal to verify. | ||
Verification part 1/1 of CheckReadsLambdaTotal, on line 44, verified successfully, redacted and consuming 1.5E 004 resources | ||
ArrowTypeOptimizations.dfy(10,2): Error: function precondition could not be proved | ||
ArrowTypeOptimizations.dfy(10,2): Error: insufficient reads clause to invoke function | ||
ArrowTypeOptimizations.dfy(16,2): Error: function precondition could not be proved | ||
|
||
Dafny program verifier finished with 5 verified, 3 errors | ||
Dafny program verifier finished with 17 verified, 3 errors |
5 changes: 5 additions & 0 deletions
5
...tegrationTests/TestFiles/LitTests/LitTest/verification/Inputs/progressFirstSequence.check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,5 @@ | ||
// CHECK-L:Verified 0/5 symbols. Waiting for Foo to verify. | ||
// CHECK-L:Verified 1/5 symbols. Waiting for Faz to verify. | ||
// CHECK-L:Verified 2/5 symbols. Waiting for Fopple to verify. | ||
// CHECK-L:Verified 3/5 symbols. Waiting for Burp to verify. | ||
// CHECK-L:Verified 4/5 symbols. Waiting for Blanc to verify. |
12 changes: 12 additions & 0 deletions
12
...egrationTests/TestFiles/LitTests/LitTest/verification/Inputs/progressSecondSequence.check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,12 @@ | ||
// CHECK-L:Verification part 1/3 of Foo, on line 6, verified successfully, redacted and consuming 8.7E 002 resources | ||
// CHECK-L:Verification part 2/3 of Foo, on line 8, verified successfully, redacted and consuming 3.1E 003 resources | ||
// CHECK-L:Verification part 3/3 of Foo, on line 9, verified successfully, redacted and consuming 2.8E 003 resources | ||
// CHECK-L:Verification part 1/2 of Faz, on line 12, verified successfully, redacted and consuming 8.7E 002 resources | ||
// CHECK-L:Verification part 2/2 of Faz, on line 12, verified successfully, redacted and consuming 3.1E 003 resources | ||
// CHECK-L:Verification part 1/2 of Fopple, on line 14, verified successfully, redacted and consuming 8.7E 002 resources | ||
// CHECK-L:Verification part 2/2 of Fopple, on line 14, verified successfully, redacted and consuming 3.1E 003 resources | ||
// CHECK-L:Verification part 1/3 of Burp, on line 16, verified successfully, redacted and consuming 8.7E 002 resources | ||
// CHECK-L:Verification part 2/3 of Burp, on line 18, verified successfully, redacted and consuming 3.1E 003 resources | ||
// CHECK-L:Verification part 3/3 of Burp, on line 19, verified successfully, redacted and consuming 2.8E 003 resources | ||
// CHECK-L:Verification part 1/2 of Blanc, on line 22, verified successfully, redacted and consuming 8.7E 002 resources | ||
// CHECK-L:Verification part 2/2 of Blanc, on line 22, verified successfully, redacted and consuming 3.1E 003 resources |
7 changes: 6 additions & 1 deletion
7
Source/IntegrationTests/TestFiles/LitTests/LitTest/verification/isolate-assertions.dfy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
Source/IntegrationTests/TestFiles/LitTests/LitTest/verification/progress.dfy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters