Idris2/tests
Edwin Brady d5b5af91d1 Implement %macro flag
A %macro must always be fully applied. Whenever the elaborator
encounters a %macro application (except in a function LHS) it evaluates
the application and sends the result to %runElab. So:

%macro
foo : args -> Elab TT
...
def = foo a b c

is equivalent to

foo : args -> Elab TT
...
def = %runElab foo a b c
2020-06-01 17:55:54 +01:00
..
chez Add Bits primitives 2020-06-01 11:48:03 +01:00
ideMode Add Bits primitives 2020-06-01 11:48:03 +01:00
idris2 Implement %macro flag 2020-06-01 17:55:54 +01:00
ttimp Add Bits primitives 2020-06-01 11:48:03 +01:00
typedd-book Add visibility rules on types 2020-05-30 17:03:15 +01:00
Main.idr Add reflection operation for adding declarations 2020-06-01 15:01:52 +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.