Idris2/tests
Edwin Brady eb3cba5f85 Better checking for empty types
This improves coverage checking, because it can now see that things like
(Z = S x) and (x = S x) are empty. Previously, it only checked that all
possible constructors had a disjoint index. Now, it looks for matches
and checks for disjointness in the matches, which catches a lot more
things especially with equality.
2020-05-23 11:03:54 +01:00
..
chez Add runtime error for unhandled cases 2020-05-21 10:54:22 +01:00
ideMode Add test script 2020-05-19 18:25:18 +01:00
idris2 Better checking for empty types 2020-05-23 11:03:54 +01:00
ttimp Remove some tests which are no longer useful 2020-05-19 18:31:52 +01:00
typedd-book Point bootstrap tests at the right place 2020-05-21 17:11:12 +01:00
Main.idr Better checking for empty types 2020-05-23 11:03:54 +01:00
Makefile Point bootstrap tests at the right place 2020-05-21 17:11:12 +01:00
README.md Add test script 2020-05-19 18:25:18 +01:00
tests.ipkg Windows support 2020-05-21 15:13:06 +02:00

Tests

Note: The commands listed in this section should be run from the repository's root folder.

Run all tests: make test

To run only a subset of the tests use: make test only=NAME. NAME is matched against the path to each test case.

Examples:

  • make test only=chez will run all Chez Scheme tests.
  • make test only=ttimp/basic will run all basic tests for TTImp.
  • make test only=idris2/basic001 will run a specific test.