-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added integration test + Reverted unit testing
- Loading branch information
1 parent
9cf72a0
commit 4f2b8e1
Showing
9 changed files
with
37 additions
and
88 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 was deleted.
Oops, something went wrong.
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
25 changes: 25 additions & 0 deletions
25
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny0/TranslationCases.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// RUN: %baredafny run %args --log-level verbose "%s" > "%t" | ||
// RUN: %OutputCheck --file-to-check "%t" "%S/TranslationCasesTranslate.check" | ||
|
||
// RUN: %baredafny run %args --log-level verbose --no-verify "%s" > "%t" | ||
// RUN: %OutputCheck --file-to-check "%t" "%S/TranslationCasesNoTranslation.check" | ||
|
||
// RUN: %baredafny run %args --log-level verbose --no-verify --bprint:file.bpl "%s" > "%t" | ||
// RUN: %OutputCheck --file-to-check "%t" "%S/TranslationCasesTranslate.check" | ||
|
||
// RUN: %baredafny run %args --log-level verbose --no-verify --sprint:file.bpl "%s" > "%t" | ||
// RUN: %OutputCheck --file-to-check "%t" "%S/TranslationCasesTranslate.check" | ||
|
||
// RUN: %baredafny run %args --log-level verbose --no-verify --sprint:file.bpl "%s" > "%t" | ||
// RUN: %OutputCheck --file-to-check "%t" "%S/TranslationCasesTranslate.check" | ||
|
||
module VerifiableModule { | ||
@Test | ||
method CanTest() { | ||
assert 1 == 1; | ||
expect 1 == 1; | ||
} | ||
method Main() { | ||
CanTest(); | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...ce/IntegrationTests/TestFiles/LitTests/LitTest/dafny0/TranslationCasesNoTranslation.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 @@ | ||
// CHECK-NOT: Starting translation to Boogie of module VerifiableModule |
1 change: 1 addition & 0 deletions
1
Source/IntegrationTests/TestFiles/LitTests/LitTest/dafny0/TranslationCasesTranslate.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 @@ | ||
// CHECK: Starting translation to Boogie of module VerifiableModule |