mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 14:23:32 +03:00
2df3ecc2e3
We need to store the Context in errors at the point where the error occurs, or we might get some nonsense in the message. There's still a couple of places in Error where we don't do this right. This fixes one of them, and improves a few messages in the process. |
||
---|---|---|
.. | ||
allbackends | ||
base | ||
chez | ||
codegen | ||
contrib | ||
gambit/bitops001 | ||
ideMode | ||
idris2 | ||
node | ||
prelude | ||
racket | ||
refc | ||
templates | ||
ttimp | ||
typedd-book | ||
vmcode/basic001 | ||
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.