Commit 96042ff
authored
Add --test-assumptions option (#3185)
### Changes
Add the `--test-assumptions` option to all execution commands:
run,build,translate,test
Note that I've written the description of the option to be aspirational,
so that it indicates what we want this option to do, with the note that
it's experimental and after that an explanation of what it currently
does. I've also simplified the option so it's just an off/on boolean,
instead of allowing using to choose under what conditions they want to
add tests, since I don't yet see a use-case for the previous
`:TestExterns` option. Feel free to discuss!
### Testing
Add the new option in a littish test
<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>1 parent 01c924a commit 96042ff
File tree
3 files changed
+16
-1
lines changed- Source/DafnyCore/Options
- Test/contract-wrappers
3 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
127 | 138 | | |
128 | 139 | | |
129 | 140 | | |
130 | 141 | | |
131 | 142 | | |
132 | 143 | | |
133 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
134 | 148 | | |
135 | 149 | | |
136 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments