cryptol/tests
Ryan Scott 1e1c14c28a Implement coreLint for numeric constraint guards
This ensures that the constraints and right-hand side expressions in each guard
are well formed. This check suffices to catch the bug in
https://github.com/GaloisInc/saw-script/issues/2043, which was fixed separately
in a previous commit.

I have also updated the `tests/constraint-guards/type-sig-constraint.icry` test
to use `coreLint=on` rather than checking `debug` output, as the former is more
resilient to internal changes in Cryptol's pretty-printer.

Fixes #1647.
2024-03-25 13:13:00 -04:00
..
constraint-guards Implement coreLint for numeric constraint guards 2024-03-25 13:13:00 -04:00
enum Implement sanity checking for case 2024-01-31 12:01:52 -08:00
examples Update test with new naming convention 2022-07-26 13:23:59 +03:00
ffi Update .stdout.mingw32 and .stdout.darwin files 2024-02-01 20:39:51 -05:00
issues Only grab public IfaceDecls from other modules. 2024-03-19 14:35:37 -06:00
modsys Update .stdout.mingw32 and .stdout.darwin files 2024-02-01 20:39:51 -05:00
mono-binds Fix more tests 2023-03-28 14:32:00 -07:00
parser Change the default so that defaulting warnings are suppressed. 2020-07-02 14:56:27 -07:00
regression Fix handling of abstract types 2024-02-02 16:02:31 -05:00
renamer Remove leading ./ from file names in test output 2019-10-28 13:57:37 -07:00
suiteb Add ECDSA signature verification tests 2020-09-29 22:00:14 -07:00
.gitignore Support FFI on Windows 2022-09-24 11:21:03 -04:00
cryptol-test-runner.cabal Require version 0.3 of test-lib 2021-04-22 09:08:19 -07:00
Main.hs Use the factored-out test-runner. 2018-12-11 16:30:02 -08:00
README Add comment in README explaining how to run tests. 2016-03-04 09:05:47 -08:00

Test suites:

regression: tests from Cryptol-1's regression test suite.
issues: tests related to issues in the bug tracker.

To manually run the test suite over all issues/* tests simply cabal build the
test suite runner then run:

./dist/build/cryptol-test-runner/cryptol-test-runner -c `which cryptol` ./issues/*.icry