Idris2/tests
Jan de Muijnck-Hughes 90fb901c8f Fix test reporting when in interactive mode.
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.
2020-06-10 09:30:02 +01:00
..
chez Add finalisers for Racket back end 2020-06-08 22:13:24 +01:00
ideMode Fix tests 2020-06-01 19:13:46 -04:00
idris2 Add finalisers to Chez back end 2020-06-08 20:34:23 +01:00
ttimp add parens for some TTImp Shows 2020-06-06 17:16:43 -07:00
typedd-book Add visibility rules on types 2020-05-30 17:03:15 +01:00
Main.idr Fix test reporting when in interactive mode. 2020-06-10 09:30:02 +01:00
Makefile Make sure literals are normalise on LHS 2020-05-23 11:48:15 +01:00
README.md Add test script 2020-05-19 18:25:18 +01:00
tests.ipkg Windows support 2020-05-21 15:13:06 +02:00

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 for TTImp.
  • make test only=idris2/basic001 will run a specific test.