Idris2/tests
Raoul Hidalgo Charman 3e85e23638
Namespace checks for resugaring (#1161)
This avoids resugaring to the wrong type when there are user defined
symbols which conflicts with builtins such as Pair.

Changed the test linear002 which was relying on this behaviour for a
user defined Unit.

Fixes #634.
2021-03-15 13:34:54 +00:00
..
base Add Data.Bits to base (#1033) 2021-03-04 20:59:56 +00:00
chez Add Data.Bits to base (#1033) 2021-03-04 20:59:56 +00:00
gambit/bitops001 Add Data.Bits to base (#1033) 2021-03-04 20:59:56 +00:00
ideMode Make :typeat a useful command (#998) 2021-02-05 16:15:40 +00:00
idris2 Namespace checks for resugaring (#1161) 2021-03-15 13:34:54 +00:00
node Add Data.Bits to base (#1033) 2021-03-04 20:59:56 +00:00
prelude/reg001 Restore Bool operators precedence 2020-07-18 05:49:35 -07:00
racket [ fix #758 ] desugar non-binding sequencing in do blocks to (>>) (#1095) 2021-02-24 11:07:16 +00:00
refc [ new ] support record projections in refc backend (#1054) 2021-02-15 10:35:46 +00:00
templates fixed whitespace for *.idr,*.ipkg,*.tex,*.yaff, and *.lidr 2021-01-22 15:08:49 +00:00
ttimp Correct multiplicities when checking Pi binders 2021-03-09 17:23:05 +00:00
typedd-book Add Data.Bits to base (#1033) 2021-03-04 20:59:56 +00:00
Main.idr Merge pull request #1171 from edwinb/fix1163 2021-03-09 18:36:08 +00:00
Makefile Make sure literals are normalise on LHS 2020-05-23 11:48:15 +01:00
README.md Test templates (#585) 2020-11-27 15:40:02 +00:00
tests.ipkg Add a test package to the Idris 2 project (#1162) 2021-03-09 18:27:05 +00: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.

Templates for common test instances can be found in the templates folder.