-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This only checks that a function with signature [32] -> [32] -> [32] will succeed with the :dumptests command. More tests could/should be added. Since this test creates a file called add32.out, I added tests/regression/*.out to the .gitignore. I'm not sure if this is the right approach or if we should make an attempt to clean up this subdirectory after the tests finish.
- Loading branch information
1 parent
ec5a504
commit fdd7aab
Showing
4 changed files
with
9 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,4 @@ cryptol-2.* | |
# ignore test suite output | ||
/bin | ||
/output | ||
/tests/regression/*.out |
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,2 @@ | ||
add32 : [32] -> [32] -> [32] | ||
add32 x y = x + y |
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,3 @@ | ||
:set tests=100 | ||
:l dumptests.cry | ||
:dumptests add32.out add32 |
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,3 @@ | ||
Loading module Cryptol | ||
Loading module Cryptol | ||
Loading module Main |