mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
69f3c23cbb
Local hints need to reduce (just like global hints do) so we expand their definition to the lifted name before applying them. We're identifying the global hints by knowing that the binder name is a nested function name. This is a bit of hack, and it'd probably be better to record that information in the binder instead, but that's a more substantial change than I want to do right now. |
||
---|---|---|
.. | ||
chez | ||
ideMode | ||
idris2 | ||
node | ||
prelude/reg001 | ||
templates | ||
ttimp | ||
typedd-book | ||
Lib.idr | ||
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.
Templates for common test instances can be found in the templates
folder.