Idris2/tests
Edwin Brady 69f3c23cbb Treat local hints differently in auto search
Local hints need to reduce (just like global hints do) so we expand
their definition to the lifted name before applying them.
We're identifying the global hints by knowing that the binder name is a
nested function name. This is a bit of hack, and it'd probably be better
to record that information in the binder instead, but that's a more
substantial change than I want to do right now.
2020-12-27 13:41:48 +00:00
..
chez Increase timings of concurrency tests due to flaky windows runs 2020-12-07 21:20:09 +00:00
ideMode Added assert_linear. (#844) 2020-12-13 16:06:18 +00:00
idris2 Treat local hints differently in auto search 2020-12-27 13:41:48 +00:00
node Merge pull request #731 from rbarreiro/issue_596 2020-12-03 11:48:44 +00:00
prelude/reg001 Restore Bool operators precedence 2020-07-18 05:49:35 -07:00
templates Test templates (#585) 2020-11-27 15:40:02 +00:00
ttimp Implement new application syntax 2020-10-01 12:43:43 +03:00
typedd-book [ new ] null method in Foldable (#832) 2020-12-10 18:04:23 +00:00
Lib.idr Make Idris2 test harness available for the many and not the few. (#719) 2020-10-19 09:26:23 +01:00
Main.idr Treat local hints differently in auto search 2020-12-27 13:41:48 +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 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.

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