Idris2/tests
Edwin Brady f303e469fb Improve elaborator reflection performance
In a 'Bind', normalise the result of the first action, rather than
quoting the HNF. This improves performance since the HNF could be quite
big when quoted back.

Ideally, we wouldn't have to quote and unquote here, and we can probably
achieve this by tinkering with the evaluator.

This has an unfortunate effect on the reflection002 test, in that the
"typed template Idris" example now evaluates too much. But, I think the
overall performance is too important for the primary motivation
behind elaborator reflection. I will return to this!
2020-07-17 15:18:23 +01:00
..
chez Add <?> for replacing error messages 2020-07-06 14:13:56 +02:00
ideMode Reorganise prelude into multiple files 2020-07-12 16:55:48 +01:00
idris2 Improve elaborator reflection performance 2020-07-17 15:18:23 +01:00
node add test for js case clause scopes 2020-07-14 14:22:08 -04:00
ttimp add parens for some TTImp Shows 2020-06-06 17:16:43 -07:00
typedd-book Vect updates (#335) 2020-07-04 11:02:04 +01:00
Main.idr Improve elaborator reflection performance 2020-07-17 15:18:23 +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.