Idris2/tests
Edwin Brady c17d4ff0a5 Look inside case blocks in conversion check
This is quite fiddly as it the blocks might be in different contexts so
we need to keep track of which variables correspond in the scrutinees of
the blocks. Once that's done, check the terms at the leaves convert,
then check the corresponding variables convert.

This may not be perfect yet, because we only look at case scrutinees to
find correspondence. It might also be a bit slower than it could be, but
at least these checks are quite rare.

Fixes #208 and maybe some others?
2020-06-04 18:21:44 +01:00
..
chez Add Bits primitives 2020-06-01 11:48:03 +01:00
ideMode Add Bits primitives 2020-06-01 11:48:03 +01:00
idris2 Look inside case blocks in conversion check 2020-06-04 18:21:44 +01:00
ttimp Add Bits primitives 2020-06-01 11:48:03 +01:00
typedd-book Add visibility rules on types 2020-05-30 17:03:15 +01:00
Main.idr Look inside case blocks in conversion check 2020-06-04 18:21:44 +01:00
Makefile Make sure literals are normalise on LHS 2020-05-23 11:48:15 +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.