mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-12 01:22:01 +03:00
0ecf74e434
* add `nextDirEntry` which returns `Maybe String`, so `Nothing` on the end of directory unlike `dirEntry` which returns unspecified error on the end of directory * `dirEntry` is deprecated now, but not removed because compiler depends on it * native implementation of `dirEntry` is patched to explicitly reset `errno` before the `readdir` call: without it end of directory and error were indistinguishable * test added |
||
---|---|---|
.. | ||
allbackends | ||
base | ||
chez | ||
codegen | ||
contrib/json_001 | ||
gambit/bitops001 | ||
ideMode | ||
idris2 | ||
node | ||
prelude/reg001 | ||
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.