mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 04:33:45 +03:00
90fb901c8f
When runing in interactive mode, the diff between expected and output is not being show, Supposedly, Git-diff returns 0 on successful run and a non-zero for error. However, this is not being picked up by the test suite. We change git-diff's error reporting to be more diff like in which: + +ve indicates that there is a diff. + 0 indicates the files are the same. + -ve program error. This should make diff reporting more robust. |
||
---|---|---|
.. | ||
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.