Idris2/tests
Edwin Brady 2df3ecc2e3
Fix display of ambiguity errors (#2075)
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.
2021-10-30 23:08:53 +01:00
..
allbackends Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
base clean up some deprecations (#2057) 2021-10-24 12:06:57 +01:00
chez [ contrib ] Alternating lists of known parity (#2043) 2021-10-30 00:12:44 +01:00
codegen [ new ] Some optimisations mainly involving Nat and Fin (#1817) 2021-10-07 19:21:32 +01:00
contrib [ contrib ] Alternating lists of known parity (#2043) 2021-10-30 00:12:44 +01:00
gambit/bitops001 Add Data.Bits to base (#1033) 2021-03-04 20:59:56 +00:00
ideMode [ decor ] highlighting comments too 2021-09-20 17:00:25 +01:00
idris2 Fix display of ambiguity errors (#2075) 2021-10-30 23:08:53 +01:00
node [ fix ] fastConcat for JS backends 2021-10-14 14:58:51 +01:00
prelude Add tests for Nat ranges and fix bad range [1,2..1] behaviour. (#1794) 2021-07-28 06:52:59 +01:00
racket Patch CVs and sleep in Racket (#1059) 2021-03-15 13:43:12 +00:00
refc Optimise away case statements on unit-y types (#1844) 2021-10-13 15:46:02 +01:00
templates Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
ttimp [ fix ] Use qualified type name for record elaboration (#1871) (#1948) 2021-09-24 11:23:46 +01:00
typedd-book print location of implicit name shadowing with the warning. (#1968) 2021-10-03 10:15:01 +01:00
vmcode/basic001 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
Main.idr [ fix #2070 ] Look under MaybeMispelling when failing quickly 2021-10-29 17:57:55 +01:00
Makefile [ cleanup ] Test.Golden (#1526) 2021-06-21 17:30:11 +01:00
README.md Test templates (#585) 2020-11-27 15:40:02 +00:00
tests.ipkg Set PREFIX for tests 2021-04-19 11:23:58 +01: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.