mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 08:42:11 +03:00
c17d4ff0a5
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? |
||
---|---|---|
.. | ||
chez | ||
ideMode | ||
idris2 | ||
ttimp | ||
typedd-book | ||
Main.idr | ||
Makefile | ||
README.md | ||
tests.ipkg |
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 forTTImp
.make test only=idris2/basic001
will run a specific test.