-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into issue-5274
- Loading branch information
Showing
76 changed files
with
130 additions
and
158 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
4 changes: 2 additions & 2 deletions
4
Source/IntegrationTests/TestFiles/LitTests/LitTest/ast/assume.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
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
4 changes: 2 additions & 2 deletions
4
Source/IntegrationTests/TestFiles/LitTests/LitTest/ast/function.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
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
2 changes: 1 addition & 1 deletion
2
Source/IntegrationTests/TestFiles/LitTests/LitTest/ast/method.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
26 changes: 13 additions & 13 deletions
26
Source/IntegrationTests/TestFiles/LitTests/LitTest/cli/projectFile/projectFile.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
// Invalid value gives error and stops compilation | ||
// RUN: ! %resolve --warn-shadowing=true %S/broken/invalidValue.toml 2> "%t" | ||
// RUN: ! %resolve --warn-shadowing=true %S/broken/invalidValue.toml &> "%t" | ||
|
||
// A project file can specify input files and configure options | ||
// RUN: %resolve "%S/dfyconfig.toml" >> "%t" | ||
// RUN: ! %resolve "%S/dfyconfig.toml" &>> "%t" | ||
|
||
// Test using a URL instead of a local file as a project file | ||
// RUN: ! %resolve "https://github.com/dafny-lang/dafny/blob/master/web.toml" 2>> %t | ||
// RUN: ! %resolve "https://github.com/dafny-lang/dafny/blob/master/web.toml" &>> %t | ||
|
||
// Test option override behavior | ||
// RUN: %resolve "%S/dfyconfig.toml" --warn-shadowing=false >> "%t" | ||
// RUN: %resolve "%S/dfyconfig.toml" --warn-shadowing=false &>> "%t" | ||
|
||
// Test option with default override behavior | ||
// RUN: ! %resolve "%S/dfyconfig.toml" --function-syntax=3 >> "%t" | ||
// RUN: ! %resolve "%S/dfyconfig.toml" --function-syntax=3 &>> "%t" | ||
|
||
// Multiple project files are not allowed | ||
// RUN: ! %resolve "%S/dfyconfig.toml" "%S/broken/dfyconfig.toml" 2>> %t | ||
// RUN: ! %resolve "%S/dfyconfig.toml" "%S/broken/dfyconfig.toml" &>> %t | ||
|
||
// Project files may not contain unknown properties | ||
// RUN: ! %resolve "%S/broken/dfyconfig.toml" 2>> %t | ||
// RUN: ! %resolve "%S/broken/dfyconfig.toml" &>> %t | ||
|
||
// Warn if file contains options that don't exist | ||
// RUN: %resolve "%S/broken/invalidOption.toml" >> "%t" | ||
// RUN: ! %resolve "%S/broken/invalidOption.toml" &>> "%t" | ||
|
||
// Project files must be files on disk. | ||
// RUN: ! %resolve "%S/doesNotExist.toml" 2>> %t | ||
// RUN: ! %resolve "%S/doesNotExist.toml" &>> %t | ||
|
||
// Project file options must have the right type | ||
// RUN: ! %resolve "%S/badTypes/dfyconfig.toml" >> "%t" | ||
// RUN: ! %resolve "%S/badTypes/dfyconfig.toml" &>> "%t" | ||
|
||
// A project file without includes will take all .dfy files as input | ||
// RUN: %resolve "%S/noIncludes/dfyconfig.toml" >> "%t" | ||
// RUN: ! %resolve "%S/noIncludes/dfyconfig.toml" &>> "%t" | ||
|
||
// Files included by the project file and on the CLI, duplicate is ignored. | ||
// RUN: %resolve "%S/dfyconfig.toml" "%S/src/input.dfy" >> "%t" | ||
// RUN: ! %resolve "%S/dfyconfig.toml" "%S/src/input.dfy" &>> "%t" | ||
|
||
// Files excluded by the project file and included on the CLI, are included | ||
// RUN: ! %resolve "%S/dfyconfig.toml" "%S/src/excluded.dfy" >> "%t" | ||
// RUN: ! %resolve "%S/dfyconfig.toml" "%S/src/excluded.dfy" &>> "%t" | ||
|
||
// RUN: %diff "%s.expect" "%t" |
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
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
4 changes: 0 additions & 4 deletions
4
...e/IntegrationTests/TestFiles/LitTests/LitTest/cloudmake/CloudMake-CachedBuilds.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,6 +1,2 @@ | ||
CloudMake-CachedBuilds.dfy(107,6): Warning: a forall statement with no bound variables is deprecated; use an 'assert by' statement instead | ||
CloudMake-CachedBuilds.dfy(447,4): Warning: a forall statement with no bound variables is deprecated; use an 'assert by' statement instead | ||
CloudMake-CachedBuilds.dfy(1249,8): Warning: a forall statement with no bound variables is deprecated; use an 'assert by' statement instead | ||
CloudMake-CachedBuilds.dfy(962,4): Warning: assume statement has no {:axiom} annotation | ||
|
||
Dafny program verifier finished with 76 verified, 0 errors |
2 changes: 1 addition & 1 deletion
2
Source/IntegrationTests/TestFiles/LitTests/LitTest/cloudmake/CloudMake-ParallelBuilds.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
1 change: 0 additions & 1 deletion
1
...IntegrationTests/TestFiles/LitTests/LitTest/cloudmake/CloudMake-ParallelBuilds.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,3 +1,2 @@ | ||
CloudMake-ParallelBuilds.dfy(562,6): Warning: a forall statement with no bound variables is deprecated; use an 'assert by' statement instead | ||
|
||
Dafny program verifier finished with 101 verified, 0 errors |
2 changes: 1 addition & 1 deletion
2
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny0/DirtyLoops.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
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
2 changes: 0 additions & 2 deletions
2
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny0/ISets.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,4 +1,2 @@ | ||
ISets.dfy(38,15): Warning: Could not find a trigger for this quantifier. Without a trigger, the quantifier may cause brittle verification. To silence this warning, add an explicit trigger using the {:trigger} attribute. For more information, see the section quantifier instantiation rules in the reference manual. | ||
ISets.dfy(40,9): Warning: Could not find a trigger for this quantifier. Without a trigger, the quantifier may cause brittle verification. To silence this warning, add an explicit trigger using the {:trigger} attribute. For more information, see the section quantifier instantiation rules in the reference manual. | ||
|
||
Dafny program verifier finished with 2 verified, 0 errors |
2 changes: 1 addition & 1 deletion
2
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny0/JustWarnings.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
2 changes: 1 addition & 1 deletion
2
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny0/PrecedenceLinter.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
2 changes: 1 addition & 1 deletion
2
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny0/SmallTests.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
2 changes: 1 addition & 1 deletion
2
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny0/Stdin.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
2 changes: 1 addition & 1 deletion
2
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny1/SchorrWaite-stages.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
21 changes: 0 additions & 21 deletions
21
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny1/SchorrWaite-stages.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,23 +1,2 @@ | ||
SchorrWaite-stages.dfy(149,7): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(150,10): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(161,9): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(162,16): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(164,11): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(168,15): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(174,11): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(175,11): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(201,7): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(202,10): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(221,9): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(223,11): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(225,16): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(230,11): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(236,11): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(239,11): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(255,7): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(256,10): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(260,9): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(261,16): Warning: the ... refinement feature in statements is deprecated | ||
SchorrWaite-stages.dfy(263,11): Warning: the ... refinement feature in statements is deprecated | ||
|
||
Dafny program verifier finished with 7 verified, 0 errors |
2 changes: 1 addition & 1 deletion
2
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny2/MonotonicHeapstate.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
5 changes: 0 additions & 5 deletions
5
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny2/MonotonicHeapstate.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,7 +1,2 @@ | ||
MonotonicHeapstate.dfy(92,13): Warning: the ... refinement feature in statements is deprecated | ||
MonotonicHeapstate.dfy(99,13): Warning: the ... refinement feature in statements is deprecated | ||
MonotonicHeapstate.dfy(106,13): Warning: the ... refinement feature in statements is deprecated | ||
MonotonicHeapstate.dfy(146,9): Warning: the ... refinement feature in statements is deprecated | ||
MonotonicHeapstate.dfy(147,13): Warning: the ... refinement feature in statements is deprecated | ||
|
||
Dafny program verifier finished with 24 verified, 0 errors |
Oops, something went wrong.